public class TextEmailMessage extends Object implements EmailMessage
Modifier and Type | Class and Description |
---|---|
static class |
TextEmailMessage.Builder |
Modifier | Constructor and Description |
---|---|
protected |
TextEmailMessage(TextEmailMessage.Builder builder) |
Modifier and Type | Method and Description |
---|---|
static TextEmailMessage.Builder |
builder() |
static TextEmailMessage.Builder |
builder(TextEmailMessage textEmailMessage) |
boolean |
equals(Object o) |
Map<String,DataSource> |
getAttachments() |
Collection<javax.mail.internet.InternetAddress> |
getBcc() |
String |
getBody() |
Collection<javax.mail.internet.InternetAddress> |
getCc() |
Optional<javax.mail.internet.InternetAddress> |
getFrom() |
Map<String,String> |
getHeaders() |
Collection<javax.mail.internet.InternetAddress> |
getReplyTo() |
String |
getSubject() |
Collection<javax.mail.internet.InternetAddress> |
getTo() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getRecipientAddress
protected TextEmailMessage(TextEmailMessage.Builder builder)
public Optional<javax.mail.internet.InternetAddress> getFrom()
getFrom
in interface EmailMessage
public Collection<javax.mail.internet.InternetAddress> getTo()
getTo
in interface EmailMessage
public Collection<javax.mail.internet.InternetAddress> getCc()
getCc
in interface EmailMessage
public Collection<javax.mail.internet.InternetAddress> getBcc()
getBcc
in interface EmailMessage
public Collection<javax.mail.internet.InternetAddress> getReplyTo()
getReplyTo
in interface EmailMessage
public String getBody()
getBody
in interface EmailMessage
public String getSubject()
getSubject
in interface EmailMessage
public Map<String,String> getHeaders()
getHeaders
in interface EmailMessage
public Map<String,DataSource> getAttachments()
getAttachments
in interface EmailMessage
public static TextEmailMessage.Builder builder()
public static TextEmailMessage.Builder builder(TextEmailMessage textEmailMessage)
Copyright © 2021 Atlassian. All rights reserved.