Package com.atlassian.crowd.manager.mail
Class TextEmailMessage.Builder
java.lang.Object
com.atlassian.crowd.manager.mail.TextEmailMessage.Builder
- Direct Known Subclasses:
HtmlEmailMessage.Builder
- Enclosing class:
- TextEmailMessage
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<javax.mail.internet.InternetAddress>
protected String
protected Collection<javax.mail.internet.InternetAddress>
protected javax.mail.internet.InternetAddress
protected Collection<javax.mail.internet.InternetAddress>
protected String
protected Collection<javax.mail.internet.InternetAddress>
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder()
protected
Builder
(TextEmailMessage textEmailMessage) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAttachments
(Map<String, javax.activation.DataSource> attachments) setFrom
(javax.mail.internet.InternetAddress from) setHeaders
(Map<String, String> headers) setRecipientAddress
(javax.mail.internet.InternetAddress recipientAddress) Deprecated.setReplyTo
(Iterable<javax.mail.internet.InternetAddress> replyTo) setSubject
(String subject)
-
Field Details
-
from
protected javax.mail.internet.InternetAddress from -
to
-
cc
-
bcc
-
replyTo
-
body
-
subject
-
attachments
-
headers
-
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
-
Method Details
-
setFrom
-
setRecipientAddress
@Deprecated public TextEmailMessage.Builder setRecipientAddress(javax.mail.internet.InternetAddress recipientAddress) Deprecated. -
setTo
-
setCc
-
setBcc
-
setReplyTo
-
setBody
-
setSubject
-
setAttachments
-
setHeaders
-
build
-
setTo(java.lang.Iterable<javax.mail.internet.InternetAddress>)