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.
|
void |
setContextMap(java.util.Map value)
Sets the context map to use with this templated message.
|
void |
setRecipient(java.lang.String recipient)
Adds a recipient to the email.
|
addHeader, addHeaders, addRecipient, addRecipients, addRecipients, addRecipients, addReplyTo, getBodyWriter, parse, reset, send, setBody, setFrom, setReplyTo, setReplyTo, setSubject
public TemplatedMailMessage()
TemplatedMailMessage
.public void setContextMap(java.util.Map value)
value
- The new context mappublic 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