public class TemplatedMailMessage extends MailMessage
mail
atrribute of an operationBinding
- see the SmartClient client Reference for details.Constructor and Description |
---|
TemplatedMailMessage() Creates a new TemplatedMailMessage . |
Modifier and Type | Method and Description |
---|---|
void | addRecipient(java.lang.String recipient) Adds a recipient to the email. |
void | addRecipients(java.util.List recipients) Adds a list of recipients to the email. |
MailMessageParseMode | getMessageParseMode() Returns the current state of the message parsing mode. |
void | setMessageParseMode(MailMessageParseMode value) Configures whether and how the message body is parsed for header values like "To:" and "From:". |
void | setRecipient(java.lang.String recipient) Adds a recipient to the email. |
addHeader, addHeaders, addRecipient, addRecipients, addRecipients, addRecipients, addReplyTo, getBodyWriter, reset, send, setAuth, setBody, setContextMap, setFrom, setHost, setPassword, setPort, setProperty, setReplyTo, setReplyTo, setSubject, setUser
public TemplatedMailMessage()
TemplatedMailMessage
.public void setMessageParseMode(MailMessageParseMode value)
value
- The new value for the message parsing mode.public MailMessageParseMode getMessageParseMode()
public void addRecipient(java.lang.String recipient)
addRecipient
in class MailMessage
recipient
- the email address of the recipientpublic void setRecipient(java.lang.String recipient)
setRecipient
in class MailMessage
recipient
- the email address of the recipientpublic void addRecipients(java.util.List recipients)
addRecipients
in class MailMessage
recipients
- the list of email addresses of the recipients