| Email Notifications | 97
FILTER Field Description Values Example
SUBJECTPREFIX The email subject, preceded by the
SUBJECT in <MAILCONF />.
text string SUBJECTPREFIX="Sub"
BODYPREFIX The email body, preceded by the
BODYTEXT in <MAILCONF />.
text string BODYPREFIX="Txt"
TOTALBYTESOVER Send email when total bytes
transferred is over this number. This
only applies to emails sent at the end
of a transfer.
positive
integer
TOTALBYTESOVER="9000"
SENDONSESSION Send email for the entire session. yes / no SENDONSESSION="yes"
SENDONSTART Send email when transfer is started.
This setting is dependent on
SENDONSESSION="yes".
yes / no SENDONSTART="yes"
SENDONSTOP Send email when transfer is stopped.
This setting is dependent on
SENDONSESSION="yes".
yes / no SENDONSTOP="yes"
SENDONFILE Send email for each file within a
session.
yes / no SENDONFILE="yes"
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}"