N/email Module
Use the N/email module to send email messages from within NetSuite. You can use the N/email module to send regular, bulk, and campaign email.
In This Help Topic
N/email Module Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
void |
Client and server scripts |
Sends transactional email to an individual or group of recipients and receives bounceback notifications.
Note:
To send email on another user’s behalf, the user triggering the email send must have a role with the Vicarious Email (ADMI_VICARIOUS_EMAIL) permission. If a user without this permission executes SuiteScript that sends email, a Permission Violation error is returned. |
|
void |
Client scripts |
Sends transactional email asynchronously to an individual or group of recipients and receives bounceback notifications. |
||
void |
Client and server scripts |
Sends bulk email (for use when a bounceback notification is not required). |
||
void |
Client scripts |
Sends bulk email asynchronously (for use when a bounceback notification is not required). |
||
number |
Client and server scripts |
Sends a single “on-demand” campaign email to a specified recipient and return a campaign response ID. |
||
number |
Client and server scripts |
Sends a single “on-demand” campaign email asynchronously to a specified recipient and return a campaign response ID. |
Some email recipients may have another record type or types listed on their record in the Other Recipients field. Because records with other relationship types share the same internal ID across types, email sent with SuiteScript is saved on each record type for the recipient. For more information, see Records as Multiple Types.