Send an Email
This is one of the Additional Actions supported by WatchFTP and typically sends an email for each downloaded file.
- Complete the fields using the variables below in the message Subject and Body
- Click SMTP Server to enter your SMTP Server settings
Subject: The subject for your email. You can use variables (see below) that will be replaced at runtime.
Message Body: The message body of this email. You can use variables (see below) that will be replaced at runtime.
To...: Enter one or more email addresses that will receive this message. Multiple addresses are separated by commas.
One email per download: Send an email for each downloaded file. If this option is not selected, only a single email is sent for all downloaded files.
Selecting this option also enables the Environment Variables supported by the Start a Batch script action. Note that those variables are surrounded by %percentage% signs, not dollar-signs.
SMTP Server: Enter the settings for your SMTP Server here.
Variables
| $DATE$ | Current date. |
|---|---|
| $TIME$ | Current time. |
| $WFILE$ | Windows Filename of the downloaded file. If you did not select One email per download this variable contains the list of the downloaded files and is ignored in the message subject. |
| $UFILE$ | The Unix Filename of the downloaded file. If you did not select One email per download this variable contains the list of the Unix filenames and is ignored in the message subject. |
If you selected One email per download, you can also include Environmental Variables surrounded by percentage signs.
Monitor FTP sites with WatchFTP
