How to set up email notifications

CompleteFTP supports highly customizable email notifications. This means that when an event such as a file upload occurs, an email can be sent.

To set up email notifications, the mail server (SMTP server) settings must be entered. The server hostname, port number (normally port 25) and optional username and password are entered in the Email Notification tab found from the Events panel. SSL connections are also permitted by checking the "Enabled SSL/TLS" checkbox. For SSL, the port number will most likely need to be changed - the default SMTP SSL port is 465.

The list of current notifications is displayed in the Email Notification tab. Use Remove to delete notifications, and Add to create a new notification.

Enter an appropriate name for the notification, and select what Events the notification is applicable for. The various fields are described below.

Filters

The folder- or file-path filter should be entered. This filter may be used to select the files/folders which the notifications should be sent for. For example, if notifications should only be sent for files with the extension, '.dat', then the filter should be set to '*.dat'. By default Windows-style wildcards are used for matching.

Note that the full path is used for matching; not just the file-name. So if notifications should be sent for files named 'test.dat' in any directory, then the filter should be set to '*/test.dat'.

Regular expressions .NET-style) may also be used. To use these the filter should be prefixed by 'regex:'. Information on .NET regular expressions may be found on the Microsoft(tm) website.

From address

Enter the email address that the email notification is set to be from. The %OwnerEmail% (email address of folder owner) or %LoginEmail% (email address of logged-in user) macros may be used here.

To address

Enter the email address that the email notification is sent to. The %OwnerEmail% (email address of folder owner) or %LoginEmail% (email address of logged-in user) macros may be used here.

Subject

Enter the subject of the notification message. Various macros can be used here.

Message

Enter the body of the notification message. Various macros can be used here.