public class MimeMessageBuilder extends Object
Constructor and Description |
---|
MimeMessageBuilder(javax.mail.Session session) |
Modifier and Type | Method and Description |
---|---|
javax.mail.internet.MimeMessage |
getMimeMessage() |
MimeMessageBuilder |
setFrom(String from) |
MimeMessageBuilder |
setRecipients(javax.mail.Message.RecipientType recipientType,
String recipients) |
MimeMessageBuilder |
setReplyTo(String replyTo) |
MimeMessageBuilder |
setSubject(String subject) |
public MimeMessageBuilder setFrom(String from) throws javax.mail.MessagingException
javax.mail.MessagingException
public MimeMessageBuilder setReplyTo(String replyTo) throws javax.mail.MessagingException
javax.mail.MessagingException
public MimeMessageBuilder setRecipients(javax.mail.Message.RecipientType recipientType, String recipients) throws javax.mail.MessagingException
javax.mail.MessagingException
public MimeMessageBuilder setSubject(String subject) throws javax.mail.MessagingException
javax.mail.MessagingException
public javax.mail.internet.MimeMessage getMimeMessage()
Copyright © 1999-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.