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.