Package com.atlassian.crowd.manager.mail
Class TextEmailMessage
java.lang.Object
com.atlassian.crowd.manager.mail.TextEmailMessage
- All Implemented Interfaces:
EmailMessage
- Direct Known Subclasses:
HtmlEmailMessage
Represents a plain text email message.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TextEmailMessage.Builder
builder()
static TextEmailMessage.Builder
builder
(TextEmailMessage textEmailMessage) boolean
Collection<javax.mail.internet.InternetAddress>
getBcc()
getBody()
Collection<javax.mail.internet.InternetAddress>
getCc()
Optional<javax.mail.internet.InternetAddress>
getFrom()
Collection<javax.mail.internet.InternetAddress>
Collection<javax.mail.internet.InternetAddress>
getTo()
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.manager.mail.EmailMessage
getRecipientAddress
-
Constructor Details
-
TextEmailMessage
-
-
Method Details
-
getFrom
- Specified by:
getFrom
in interfaceEmailMessage
- Returns:
- Address of sender of this email, if overridden; by default sender is configured globally for the instance
-
getTo
- Specified by:
getTo
in interfaceEmailMessage
- Returns:
- Recipients of this e-mail of type "To" (primary recipients)
-
getCc
- Specified by:
getCc
in interfaceEmailMessage
- Returns:
- Recipients of this e-mail of type "Cc" (carbon copy)
-
getBcc
- Specified by:
getBcc
in interfaceEmailMessage
- Returns:
- Recipients of this e-mail of type "Bcc" (blind carbon copy)
-
getReplyTo
- Specified by:
getReplyTo
in interfaceEmailMessage
- Returns:
- Addresses sent as "Reply-to".
-
getBody
- Specified by:
getBody
in interfaceEmailMessage
- Returns:
- Body of the email message
-
getSubject
- Specified by:
getSubject
in interfaceEmailMessage
- Returns:
- Subject of the email message
-
getHeaders
- Specified by:
getHeaders
in interfaceEmailMessage
- Returns:
- Headers of the email message
-
getAttachments
- Specified by:
getAttachments
in interfaceEmailMessage
- Returns:
- Attachments of the email message
-
builder
-
builder
-
equals
-
hashCode
public int hashCode() -
toString
-