public interface MailAction extends Action
Modifier and Type | Method and Description |
---|---|
java.util.List<java.net.URL> |
getAttachments()
Returns the mail attachments for this mail.
|
java.util.List<java.lang.String> |
getBccAddresses()
Returns the BCC addresses for this mail.
|
java.lang.String |
getBody()
Sets the contents of the email message.
|
java.lang.String |
getBodyFooter()
Returns the end of the body of this mail.
|
java.lang.String |
getBodyHeader()
Returns the beginning of the body of this mail.
|
java.util.Properties |
getBodyProperties()
Returns substitution properties that are referenced by the mail body.
|
java.util.List<java.lang.String> |
getCcAddresses()
Returns the CC addresses for this mail.
|
MailContentType |
getContentType()
Returns the email content type for this mail.
|
java.util.Properties |
getExtraHeaders()
Returns additional mail headers that accompany this mail.
|
java.lang.String |
getFromAddress()
Returns the FROM address for this mail.
|
java.lang.String |
getMailServer()
Returns the name of the mail server through which this mail is sent.
|
java.lang.String |
getPassword()
Returns the password that will be used to authenticate with the mail
server.
|
java.lang.String |
getPort()
Returns the port that will be used to connect to the mail server.
|
boolean |
getSsl()
Returns whether or not this action will use SSL to connect to the mail server.
|
java.lang.String |
getSubject()
Returns the subject of this mail.
|
java.util.List<java.lang.String> |
getToAddresses()
Returns the TO addresses for this mail.
|
java.lang.String |
getUsername()
Returns the username that will be used to authenticate with the mail
server.
|
void |
setAttachments(java.util.List<java.net.URL> attachments)
Sets the mail attachments for this mail.
|
void |
setBccAddresses(java.util.List<java.lang.String> bccAddresses)
Sets the BCC addresses for this mail.
|
void |
setBody(java.lang.String body)
Sets the contents of the email message.
|
void |
setBodyFooter(java.lang.String bodyFooter)
Sets the end of the body of this mail.
|
void |
setBodyHeader(java.lang.String bodyHeader)
Sets the beginning of the body of this mail.
|
void |
setBodyProperties(java.util.Properties bodyProperties)
Sets substitution properties that are referenced by the mail body.
|
void |
setCcAddresses(java.util.List<java.lang.String> ccAddresses)
Sets the CC addresses for this mail.
|
void |
setContentType(MailContentType mailContentType)
Sets the email content type for this mail.
|
void |
setExtraHeaders(java.util.Properties extraHeaders)
Sets additional mail headers that accompany this mail.
|
void |
setFromAddress(java.lang.String fromAddress)
Sets the FROM address for this mail.
|
void |
setMailServer(java.lang.String mailServer)
Sets the name of the mail server through which this mail is sent.
|
void |
setPassword(java.lang.String password)
Sets the password that will be used to authenticate with the mail server.
|
void |
setPort(java.lang.String port)
Sets the port that will be used to connect to the mail server.
|
void |
setSsl(boolean ssl)
Sets whether or not to use SSL for the connection to the mail server.
|
void |
setSubject(java.lang.String subject)
Sets the subject of this mail.
|
void |
setToAddresses(java.util.List<java.lang.String> toAddresses)
Sets the TO addresses for this mail.
|
void |
setUsername(java.lang.String username)
Sets the username that will be used to authenticate with the mail server.
|
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
getRuntimeDataMap, setRuntimeDataMap
java.util.List<java.net.URL> getAttachments() throws EngineException
EngineException
- If a system error occurs.java.util.List<java.lang.String> getBccAddresses()
java.lang.String getBody()
getBodyProperties()
,
setBodyProperties(java.util.Properties)
java.lang.String getBodyFooter()
java.lang.String getBodyHeader()
java.util.Properties getBodyProperties()
java.util.List<java.lang.String> getCcAddresses()
MailContentType getContentType()
java.util.Properties getExtraHeaders()
java.lang.String getFromAddress()
java.lang.String getMailServer()
java.lang.String getPassword()
java.lang.String getPort()
boolean getSsl()
java.lang.String getSubject()
java.util.List<java.lang.String> getToAddresses()
java.lang.String getUsername()
void setAttachments(java.util.List<java.net.URL> attachments)
attachments
- The mail attachments for this mail.void setBccAddresses(java.util.List<java.lang.String> bccAddresses)
bccAddresses
- The BCC addresses for this mail.void setBody(java.lang.String body)
body
- The contents of the email message.getBodyProperties()
,
setBodyProperties(java.util.Properties)
void setBodyFooter(java.lang.String bodyFooter)
bodyFooter
- The end of the body of this mail.void setBodyHeader(java.lang.String bodyHeader)
bodyHeader
- The beginning of the body of this mail.void setBodyProperties(java.util.Properties bodyProperties)
bodyProperties
- Substitution properties that are referenced by the
mail body.void setCcAddresses(java.util.List<java.lang.String> ccAddresses)
ccAddresses
- The CC addresses for this mail.void setContentType(MailContentType mailContentType)
mailContentType
- The email content type for this mail.void setExtraHeaders(java.util.Properties extraHeaders)
extraHeaders
- Additional mail headers that accompany this mail.void setFromAddress(java.lang.String fromAddress)
fromAddress
- The FROM address for this mail.void setMailServer(java.lang.String mailServer)
mailServer
- The name of the mail server through which this mail is
sent.void setPassword(java.lang.String password)
password
- The password that will be used to authenticate with the
mail server.void setPort(java.lang.String port)
port
- The port that will be used to connect to the mail server.void setSubject(java.lang.String subject)
subject
- The subject of this mail.void setSsl(boolean ssl)
ssl
- Whether or not to use SSL for the connection to the mail server.void setToAddresses(java.util.List<java.lang.String> toAddresses)
toAddresses
- The TO addresses for this mail.void setUsername(java.lang.String username)
username
- The username that will be used to authenticate with the
mail server.© 2000-2025 Flux Corporation. All rights reserved.