SendMail.From

NES3+Syntax

							sendmail.From

Description

The From property of the SendMail objects specifies the email address of the sender of the message.

Example

Listing 8.124 shows you how to set the From property of an instance of the SendMail object.

Listing 8.124 Setting the From Property
<SERVER>

// Set the From property using the email key in a form sent by the client
myMail.From = request.email;

</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.