$SENDMAIL Mask

Description

The $SENDMAIL mask enables a question in questionnaire to send an email by means of the SMTP services of IIS.

Note: It is recommended that set-up for this feature be performed by your IT Administrator

Syntax

$SENDMAIL TO=… FROM=… CC=… BCC=… IMP=… CT=…

Parameter

Argument

TO=

Destination address of the email

FROM=

Sender’s email address

CC=

Carbon copy email address

BCC=

Hidden carbon copy email address

IMP=

Importance. Permitted values are ‘High’, ‘Normal’, ‘Low’.

CT=

Content type. If the value ‘HTML’ is used, the email will be considered to be in HTML format, otherwise the email will be considered to be in text format.

Notes:

Example.

$SENDMAIL TO="SUP@CORP.COM" FROM="INTERV@CORP.COM" BCC="SUP_CHIEF@CORP.COM" IMP=HIGH CT=HTML

Example (with recalls).

$SENDMAIL TO=<DEST> FROM="INTERV@CORP.COM" BCC=<PRIV> IMP=HIGH CT=HTML

Comments:

When the server encounters a question with a $SENDMAIL mask, it creates a temporary file in the pickup directory defined in the registry of the webserver:

HKEY_LOCAL_MACHINE\Software\Voxco\Interviewer Web\2.5\MailPickupDir

The SMTP service regularly scans the pickup directory, sending the emails that it finds in there. As with all other executable masks, $SENDMAIL recognizes recalls from other questions in all of its parameter arguments.