![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Email发送
文章平均质量分 81
lifengzi9527
这个作者很懒,什么都没留下…
展开
-
通过commons-email组件发送邮件
该案例包含三个文件,分别为上传文件页面sendMail.jsp,上传文件处理类SendMailServlet.java,显示结果页面sendResult.jsp。 <form id="form1" name="form1" method="post" action="<%=request.getContextPath()%>/servlet/sendMail"> &原创 2010-11-29 13:11:35 · 545 阅读 · 0 评论 -
通过commons-email组件发送带有附件的邮件
上传文件页面sendAttachmentMail.jsp <form id="form1" name="form1" method="post" action="<%=request.getContextPath()%>/servlet/sendAttachmentMail" enctype="multipart/form-data"> &原创 2010-11-29 13:51:08 · 1579 阅读 · 0 评论