Plugin Adapters
Common
XML
HL7
Text
Database
Messaging
Mail
iSeries
The Send Mail Task allows you to build and send customized email messages using the Simple Mail Transfer Protocol (SMTP). For example, if the Send Mail task is connected from an XML Generator task, you can email the XML files it generates at runtime.
Server
| Host |
Host name or IP address of SMTP mail server to use. |
| User |
User account name that ActiveLink should supply when it logs onto the mail server at runtime. |
| Password |
User password that ActiveLink should supply when it logs onto the mail server at runtime. |
|
 |
Message
The properties on this tab comprise the body of the mail message:
| Message Text |
Body of the email message. Type the message here. |
| Mappable Variables |
Variables that can be used to pass data into the message text. Type the variables in the Message Text pane. Each variable must be enclosed with the back-tick (`). The back-tick character is on the same key as the tilde (`) character. Once defined, the variables appear in the bottom pane. The variables defined are made available in the Data Mapping tab. In the Text message shown below, the mappable variable `param1` is used. |
|
 |
Static Info
The properties on this tab are used if ActiveLink does not find dynamic information at runtime.
| From |
Email address of where this mail originates "from". |
| To |
Email address of the recipient. To enter multiple addresses, separate each address with a comma. |
| CC |
Address of the mail recipients you want copied on this email message. To enter multiple, separate the addresses with a comma. |
| Subject |
The subject of the email message. |
| Attachments |
Attachments that should accompany this email. To specify multiple attachments, use the Attach all files in directory option and enter the path to the directory. |
|
 |
Data Mapping - Input
The input schema for the Send Mail Task appears on the Target tree. The root element, MailTask contains:
| MessageInfo
|
This element accepts the standard data for an email message: From, To, Cc and Subject. If no values are mapped, the data specified in the Static Info tab are used. It has a MessageVariables element and a FileAttachment Parameter element.
|
| MessageVariables
|
This element accepts the body of the email message. If you defined Mappable Variables in the Message tab of the Customizer, they appear as child elements.
|
| FileAttachmentParameter
|
This element accepts the file name of the attached files that should accompany the email message.
|
Data Mapping - Output
The output schema of the Send Mail task is fixed. The root element, MailTask contains:
| Result
|
This element contains the result of the email message. A result is returned for each recipient of the email. The result has two elements, To and Success.
|
| To
|
This element contains the recipient of the email message.
|
| From
|
This element contains a Boolean value of whether or not the email message was sent successfully. A value of True means the email was successfully sent and a value of False means it failed to send.
|
Start Here
Setup
Adapters
Studio
Server
Monitor
Mapping
Scripting
Samples
Index
|