SendMail()

NES3+Syntax

new SendMail()

Description

The SendMail object is a core server-side object that is created using the new keyword. This object provides the properties and methods necessary to send email with your JavaScript applications. Table 8.22 lists the properties and methods of this object.

Table 8.22. SendMail Methods and Properties
Function or PropertyDescription
BccProperty that contains the email addresses of those users you want to blind carbon copy
BodyProperty that contains the actual body of the message
CcProperty that contains the email addresses of those users you want to carbon copy
errorCode()Returns an integer error code that may be incurred when sending email
errorMessage()Returns a string related to any error messages ...

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.