Vedachalam Mahadevan
02/28/2025, 5:31 PMCeligo AI
02/28/2025, 5:31 PMAI generated answer (using internal Slack threads):In NetSuite, the 'From' or 'Sender' email address used for sending emails to customers can be set in a few ways: 1. Using SuiteScript's N/email module: The sender for
N/email
has to be an employee, but you can create an employee with a specific email address (like noreply@domain.com) for this purpose. This is useful if you want to send emails from a system or no-reply email address. Here's a sample code snippet:
javascript
var emailObj = email.create({
author: -5, // internal id of the employee
recipients: emailRecipient,
subject: emailSubject,
body: emailBody
});
emailObj.send();
2. Using Saved Searches: In the Saved Search setup, you can specify a 'From' email address.
3. Using Workflows: You can set the author if you send via a workflow. This can be done in the 'Send Email' action of the workflow.
4. For different customer bases: If you need to send emails to a different customer base from an acquisition and need to change the 'From' address, you can identify the acquisition source in the customer record, then use that as a condition flag in the workflow action for sending email and define the 'From' email there.
Remember, if you are emailing a customer, the NetSuite string is crucial for that to show up in the communication tab.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/28/2025, 5:31 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.876963079
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.871516764
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86974591
Celigo AI
02/28/2025, 5:31 PM