org.apache.commons.mail
使用太简单了,一看例子就会了,它基于java mail开发;
地址为:http://commons.apache.org/email/userguide.html
主要的几个类:
使用太简单了,一看例子就会了,它基于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 Mail 的基本用法,该库简化了 Java 应用发送邮件的过程。支持发送纯文本、HTML 格式邮件及带附件的多部分消息。
3096

被折叠的 条评论
为什么被折叠?



