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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextEmailMessage.Builderbuilder()static TextEmailMessage.Builderbuilder(TextEmailMessage textEmailMessage) booleanCollection<jakarta.mail.internet.InternetAddress> getBcc()getBody()Collection<jakarta.mail.internet.InternetAddress> getCc()Optional<jakarta.mail.internet.InternetAddress> getFrom()Collection<jakarta.mail.internet.InternetAddress> Collection<jakarta.mail.internet.InternetAddress> getTo()inthashCode()toString()
-
Constructor Details
-
TextEmailMessage
-
-
Method Details
-
getFrom
- Specified by:
getFromin interfaceEmailMessage- Returns:
- Address of sender of this email, if overridden; by default sender is configured globally for the instance
-
getTo
- Specified by:
getToin interfaceEmailMessage- Returns:
- Recipients of this e-mail of type "To" (primary recipients)
-
getCc
- Specified by:
getCcin interfaceEmailMessage- Returns:
- Recipients of this e-mail of type "Cc" (carbon copy)
-
getBcc
- Specified by:
getBccin interfaceEmailMessage- Returns:
- Recipients of this e-mail of type "Bcc" (blind carbon copy)
-
getReplyTo
- Specified by:
getReplyToin interfaceEmailMessage- Returns:
- Addresses sent as "Reply-to".
-
getBody
- Specified by:
getBodyin interfaceEmailMessage- Returns:
- Body of the email message
-
getSubject
- Specified by:
getSubjectin interfaceEmailMessage- Returns:
- Subject of the email message
-
getHeaders
- Specified by:
getHeadersin interfaceEmailMessage- Returns:
- Headers of the email message
-
getAttachments
- Specified by:
getAttachmentsin interfaceEmailMessage- Returns:
- Attachments of the email message
-
builder
-
builder
-
equals
-
hashCode
public int hashCode() -
toString
-