ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Managing Actions | Task Configuration Definitions | Send Email Task Configuration
 
Send Email Task Configuration
You can configure the following properties for the Send email task:
Field
Description
Task name
Type a unique name for the task.
File filter
Type the name of the file if you want to filter files with specific names. By default, ActiveTransfer Server considers all files. If you want to use regular expression, specify a valid regular expression in File filter and select Use regular expression option.
Note:
You can use wildcard characters to filter the file names. For example, type *.zip to trigger the action only when ZIP files are uploaded or downloaded. To trigger an action based on a name string in the ZIP files, use the name string in the File filter box, preceded and followed by wildcard characters. For example, type *invoice*.zip to trigger the action based on the file URLs, when ZIP files containing the character string invoice in their file names are uploaded or downloaded. If you define a File filter for a task, the task acts only on files that are filtered out.
Few examples for regular expressions are:
*^(?!.*purchaseorder).*$: Excludes files with the file URL containing purchaseorder.
**/out/.*: Include files with the file URL containing the folder out.
*^abc(.*)123$: Includes anything that starts with abc and ends with 123. Matches abc123, abcxyz123, but not abcxyz123def.
*NEW-((*.doc)|(*_backup_*)): Includes anything starting with NEW- that either ends in .doc, or is followed by the string _backup_.
From
The value you specify in From overrides the value specified in the mft.user.email.from parameter for this task.
To
Type the email address of the recipient.
Cc
Type the email addresses of additional recipients.
Bcc
Type the email addresses of recipients that must be hidden.
Subject
Type text to appear in the subject line of the email (for example, Disconnect:?User %user_name%).
The value you specify in Subject overrides the value specified in the mft.user.email.subject parameter for this task.
Variables/​Templates
Select an option to assist you in completing the body of the email from the list. There are several examples of common email messages available.
Body
Modify the content populated from the your selection in Variables/Templates or type your own text.
You can use variables in the body of the email.
Execute error task
Select this option to execute an error task if the file operation fails. For more information about error task configuration, see Error Task Configuration.
Based on the name of files specified in the source filter, the send email task sends emails to the recipients configured in a file task. Transfer of the specified files triggers the send email task.
In single-thread, sequential processing, ActiveTransfer runs the send email task only once for all files of an action, and includes the information for all files in a single, consolidated email. Therefore, each action results in one email. However, if the send email task occurs after parallel processing of files starts in an action, the number of emails ActiveTransfer sends depends on the number of threads in the action. Let us consider the example of an action having three parallel threads for processing. When the action execution is completed, ActiveTransfer sends one email for each thread, resulting in a total of three emails for the action.
Note:
You can include multiple email IDs separated by commas and semicolons. For example, abc@xyz.com, efg@qrt.com; asd@zxc.com.