FILTER Field
SUBJECTPREFIX
BODYPREFIX
TOTALBYTESOVER
SENDONSESSION
SENDONSTART
SENDONSTOP
SENDONFILE
Email Notification Examples
Use the following examples to craft your own email notifications.
1. Notify a specified mailing list when a transfer session is completed.
<EMAILNOTIF>
<MAILLISTS
list1 ="janedoe@companyemail.com, johndoe@companyemail.com"
/>
<MAILCONF
FROM="Aspera Notifier <admin@companyemail.com>"
MAILSERVER="smtp.companyemail.com"
BODYTEXT="%{NEWLINE}Powered by Aspera Inc."
/>
<FILTER
MAILLISTS="list1"
SENDONSESSION="yes"
SUBJECTPREFIX="Aspera Transfer - %{USER} "
BODYPREFIX="Status: %{STATE}%{NEWLINE} File Count: %{FILECOUNT}"
/>
</EMAILNOTIF>
2. Notify the specified mail list when a session is initiated and completed.
<EMAILNOTIF>
<MAILLISTS
list1 ="janedoe@companyemail.com, johndoe@companyemail.com"
/>
<MAILCONF
FROM="Aspera Notifier <admin@companyemail.com>"
MAILSERVER="smtp.companyemail.com"
SUBJECT=" by %{USER}"
Description
The email subject, preceded by the
SUBJECT in <MAILCONF />.
The email body, preceded by the
BODYTEXT in <MAILCONF />.
Send email when total bytes
transferred is over this number. This
only applies to emails sent at the end
of a transfer.
Send email for the entire session.
Send email when transfer is started.
This setting is dependent on
SENDONSESSION="yes".
Send email when transfer is stopped.
This setting is dependent on
SENDONSESSION="yes".
Send email for each file within a
session.
Values
Example
text string
SUBJECTPREFIX="Sub"
text string
BODYPREFIX="Txt"
positive
TOTALBYTESOVER="9000"
integer
yes / no
SENDONSESSION="yes"
yes / no
SENDONSTART="yes"
yes / no
SENDONSTOP="yes"
yes / no
SENDONFILE="yes"
| Email Notifications | 97