5.27.3 SET

This command is used to prepare the email and can be called many times with one or more keywords to build up the email definition before it is sent. (This is especially useful in RDML where the command length is limited to 256 characters).

The SET keyword must be used before the SEND keyword.

Comments / Warnings

Any keyword values set up using the SET command will be overridden by use of the equivalent keyword on the SEND command.

Syntax:

Command

Keyword

Value

Developer notes

SET

SERVER

value

Optional.

SECURE

value

Optional.

PORT

value

Optional.

MAILDOMAIN

value

Optional.

NTLMDOMAIN

value

Optional.

CHARSET

value

Optional.

USER

value

Optional.

PASSWORD

value

Optional.

FROM

value

Optional.

TO

*LIST

Optional.

value

Optional.

CC

*LIST

Optional.

value

Optional.

BCC

*LIST

Optional.

value

Optional.

SUBJECT

value

Optional.

ATTACHMENT

value

Optional.

ATTACHMENTNAME

value

Optional.

KEYSTORE

name:password

Optional.

 

Example

SET FROM([email protected]) TO([email protected])