SendMail.To

NES3+Syntax

							sendmail.To

Description

The To property of the SendMail objects specifies the email addresses of the recipients of the message. If you want to specify more than one recipient, separate their email addresses with commas.

Example

Listing 8.131 shows you how to set the To property of an instance of the SendMail object.

Listing 8.131 Setting the To Property
<SERVER>

// Set the To property
myMail.To = "authors@purejavascript.com";

</SERVER>
						

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.