org.apache.commons.mail
使用太简单了,一看例子就会了,它基于java mail开发;
地址为:http://commons.apache.org/email/userguide.html
主要的几个类:
SimpleEmail - This class is used to send basic text based emails.
MultiPartEmail - This class is used to send multipart messages. This allows a text message with attachments either inline or attached.
HtmlEmail - This class is used to send HTML formatted emails. It has all of the capabilities as MultiPartEmail allowing attachments to be easily added. It also supports embedded images.
EmailAttachment - This is a simple container class to allow for easy handling of attachments. It is for use with instances of MultiPartEmail and HtmlEmail.
分享到:
相关推荐
用 apache commons email 发送带附件,HTML 格式的 邮件 格式例子 还包括commons-email的jar包,及其他相关资料
commons email 发送html邮件完整优化实例
Java通过Apache提供的Commons Email工具类实现邮箱发送验证码功能,代码附详细注释文本,实现方法中附有验证码生成方法
这份资料是+++利用Apache Commons Email发送邮件+++的内容,希望能给有志成为IT人才一点帮助!你的进步就是对我最大的回报! Thank you!
NULL 博文链接:https://shuaigg-babysky.iteye.com/blog/355128
javamail&commons-email 发送邮件的类库
commons-email-1.5-src.zip 借助commons-email简化发送邮件的过程
集成邮件发送所需要的四个jar包,activation.jar、additionnal.jar、commons-email-1.4.jar、mail.jar
使用commons email发送邮件,项目自带代码和必要的jar包,注意修改项目中的user@gmail.com和password,而且保证此邮箱开启了pop3
包含邮件发送的jar包,同时添加实现过程文章的连接,个人觉着操作简单,可以轻松实现邮件发送功能。啦啦啦啦啦啦啦啦啦
用commons-email-1.2.jar 发送邮件的三个jar 文件
NULL 博文链接:https://eblddong.iteye.com/blog/1596525
commons-email封装了邮件发送权限处理,AuthenticationFailedException错误可以解决了
Java发送邮件所需要的几个JAR包,打包发给大家,包含以下内容: commons-email-1.1.jar mail.jar additionnal.jar activation.jar
common email 附件发送 activation.jar commons-email-1.2.jar mail.jar
NULL 博文链接:https://liuzidong.iteye.com/blog/1116785
activation commons-email-1.5 javax.mail
java简单邮件发送SimpleEmail,简单应用见博文"Java发送简单email:SimpleEmail
import org.apache.commons.mail.SimpleEmail; public class email { public static void main(String[] args){ try{ SimpleEmail email = new SimpleEmail(); //smtp host email.setHostName("smtp....