public class JavaMailSender extends Object
| Constructor and Description |
|---|
JavaMailSender(Map<String,String> aMailProps)
Creates an instance of
javax.mail.Session which could be used for multiple messages dispatch. |
public void send(String recipient, String messageSubject, String messageBody) throws javax.mail.MessagingException
recipient - a recipient mail addressmessageSubject - the subject of the messagemessageBody - the body of the messagejavax.mail.MessagingExceptionCopyright © 2012. All Rights Reserved.