The email Action provides more opportunity for customizing than any other
Action shipped with Xinet. Each entry in an
email Action Setting is a string that may include tagged names of Environment Variables to swap in. The tags are formatted like
$VARIABLE or
${VARIABLE}, and if
VARIABLE is available in the environment, the variable’s value is used instead (otherwise,
$VARIABLE will remain). Though it is not necessary to “tokenize” these tags by including them in curly brackets (
{}), Xinet recommends you do so for consistent results. The
email Action is also used to notify users when a Trigger Set
Action did not complete successfully.
The email Action can send plain text or HTML-formatted messages. If the
Body field of an
email Action Setting starts with either
<html or
<!doctype html, the email is presumed to be HTML-formatted. In this case, proper email headers are added to inform email-reading programs that the mail should be interpreted as HTML, and some variable replacements work differently (especially image attachments). Otherwise, the email
Body is assumed to be plain text.
In addition to the Environment Variables mentioned in The Action Environment, the
email Action sets additional variables of its own, and the program that implements the
email Action recognizes a few more. These include:
This is the
Upload email address for
$USERNAME, if set, or the default
Upload email address, if set. If neither are set, the variable string will remain untouched. If both are set, the user’s own setting always takes precedence.
or just put $XLARGEPREVIEW in randomly (
not after a
src=) and the
email Action will create an
<IMG> object for it. Note that if either Web preview is not available, the
email Action will wait up to five minutes for it to appear before giving up and sending a proxy image. This behavior makes it possible to trigger this
Action from a
File Create event.
Just like the X*PREVIEWs, above, except the local server path to the image is included as part of the replaceable tag. If the path doesn't resolve to a real file, a generic proxy is sent instead. Supported image formats are GIF, JPEG and PNG.