sendemail
OPTIONS
,
BODY

The sendemail statement sends an e-mail. It gives access to the maximum number of options available.


Parameters

This statement has two parameters:

options – specify who the email is coming from and going to, the server to use, and other options. Each option is specified like a parameter in an HTML tag, for example to=joe@someisp.com. If a parameter has spaces in it you must put quotes around the parameter, otherwise the quotes are optional. The available options are:

smtp=“mail.myisp.url” address of SMTP server (optional, if missing use default value). Note: Some channels may ignore this parameter.

From=“x@xx.url” e-mail address of sender (optional, if missing using default value).

FromName=“My Name” name of sender (optional, if this is missing Panorama will use the default value, if any). Note: Some channels may ignore this parameter.

To=“someone@someisp.url” e-mail address of recipient (may be repeated for multiple recipients)

cc=“someone@someisp.url” e-mail address of carbon copy recipient (may be repeated for multiple recipients). Note: Some channels may convert CC recipients into BCC recipients.

bcc=“someone@someisp.url” e-mail address of blind carbon copy recipient (may be repeated for multiple recipients)

Subject=“topic” (if missing use “no subject”)

errormessage=on/off/yes/no/true/false - if on/yes/true display error message if problem and stop, otherwise place error message in global variable ChannelResult. If ChannelResult match “Sent*” then e-mail was sent ok. This parameter defaults to on/yes/true if not supplied.

body – main text of the e-mail to be sent.


Description

This statement sends an e-mail. It gives access to the maximum number of options available. This example sends an e-mail to three recipients. The body of the message must already be set up in a field or variable named messageBody.

sendemail {
    to=joe@aol.com
    bcc=fred@aol.com
    bcc=susan@earthlink.net
    subject="Controlling Spam"
    },messageBody

For basic applications see also SendOneEmail, SendBulkEmail and SendArrayEmail.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.