Email

The email task allows you to send email automatically to multiple recipients. You can also attach files.

Email Server Profile
Select the profile name for the email server. You should have previously created an email profile, using the Email Profiles menu item.

Adding a recipient to the current email message
You can add a recipient in 2 ways.
1. Enter the email address directly into the recipient text box.  Click the New button to add the recipient to the recipient list.
2. Select the recipient in the address book, then select the recipient type (To:, cc:, bcc:); and click the paste button. This will add the recipient to the recipient list box.

Adding a recipient to the email address book
You can add a new recipient to the email address book, using the New button. Enter the desired name and email address.  You have to press enter, for any changes in the address book to be validated.

Subject
Enter the subject.  This field also supports dynamic variables.  For example, you could automatically parse the current date, or computer IP address, into the subject.

Message Body
1)  Enter the message body directly into the text field.
2)  This field also supports dynamic variables.  For example, you could automatically parse the current date, or computer name, into the message.
3)  You can let the task dynamically parse the message text from a file on your system using the following format:
$$$[message_file_path].
for example on windows, if the message file is c:\data\message.txt, use:
$$$c:\data\message.txt
NOTE:: The message body field has to start with $$$[message_file_path] AND you cannot use any other text in the message body.

Adding Attachments
1)  To add an attachment, type in the full path name of the file into the Attachment Text Box, or use the "Browse" button  to select the file.  The format for the attachments is:  AbsoluteFilePath1,AbsoluteFilePath2,......
Example: c:\data\test.txt,c:\temp\data.htm

2)  You can also specify multiple filenames in multiple directories, by using the following format:
[DIR]c:\your_dir[FILE]name_filter
Enter the name_filter for the files you wish to transfer,  using the following wildcard rules
To attach all files that end with .txt from the c:\temp folder, use:
[DIR]c:\temp[FILE].txt

3) This field also supports dynamic variables.
Example:
To attach all files in the c:\temp folder, which has the current date (example: 06-21-02)  in their filename, use:
[DIR]c:\temp[FILE]$%DATE::pp-dd-yy%$
The date format in the filename has to match the date format entered above.  See dynamic variables for more details

Append to Filename
You can append the date/time or a customized date to the attachments based on current time/date, or custom code.
 

Headers
You can specify headers to add to the email. This will allow you to add mail priority, or other specific flags. An email server may not display all the headers that you specify, the server may not understand the headers you specify. For example, if you attempt to specify Email priority level, an email server may accept any, or all, or none of the following flags: X-Priority, X-MSMail-Priority, Importance, Priority.

To specify headers, use the following syntax:
header1=value1^header2=value2^header3=value3

Header Examples:
X-Priority=1^ Priority=Urgent
Importance=high
Reply-To=test@test.com