Modifier and Type | Method and Description |
---|---|
void |
send()
Send the actual message
|
void |
setBCCRecipients(java.lang.String[] emailAddrs)
Sets the BCC recipients of the email message
|
void |
setBody(java.lang.String textIn)
Set the text of the email message
|
void |
setCCRecipients(java.lang.String[] emailAddrs)
Sets the CC recipients of the email message
|
void |
setFrom(java.lang.String from)
Set the from field of the email message
|
void |
setHeader(java.lang.String name,
java.lang.String value)
Set a header value for the message
|
void |
setRecipient(java.lang.String recipIn)
Set a single recipient of the email message.
|
void |
setRecipients(java.lang.String[] recipIn)
Set the recipients of the email message.
|
void |
setSubject(java.lang.String subIn)
Set the subject of the email message
|
void send()
void setFrom(java.lang.String from)
from
- Email address this message is from.void setHeader(java.lang.String name, java.lang.String value)
name
- The header name to setvalue
- The header value to setvoid setRecipients(java.lang.String[] recipIn)
recipIn
- Array of Recipients to whom to send.void setCCRecipients(java.lang.String[] emailAddrs)
emailAddrs
- Array of email addrs to whom to send.void setBCCRecipients(java.lang.String[] emailAddrs)
emailAddrs
- Array of email addrs to whom to send.void setRecipient(java.lang.String recipIn)
recipIn
- The intended recipient.void setSubject(java.lang.String subIn)
subIn
- Subject of email message.void setBody(java.lang.String textIn)
textIn
- Text of email.