SetRecipients

Sets email recipients' address(es).

Syntax

bool SetRecipients (StrParam)

Parameters

Email address(es) of recipient(s). You can either call this action multiple times to add multiple recipients, or you can enter multiple email addresses separated by commas.

Returns

False if you do not enter an email addresses parameter, if the address is rejected by the mail system or if the email object cannot be initialized. Otherwise, True.

Invalid email addresses may not be reported until SendEMail is called.

Level

All levels.

Details

The email address of the email’s primary recipients.
Example:
SetRecipients("lisa@adomain.com,Joe@adomain.com")