Scruffy
04/08/2022, 9:45 PMScruffy
04/08/2022, 9:45 PM{
"type": "error.SuiteScriptError",
"name": "UNEXPECTED_ERROR",
"message": null,
"stack": [
"doSendEmail(N/email)",
"afterSubmit(/SuiteScripts/afterSubmit_newCustomer_Approval.js:31)"
],
"cause": {
"type": "internal error",
"code": "UNEXPECTED_ERROR",
"details": null,
"userEvent": "aftersubmit",
"stackTrace": [
"doSendEmail(N/email)",
"afterSubmit(/SuiteScripts/afterSubmit_newCustomer_Approval.js:31)"
],
"notifyOff": false
},
"id": "7560594d-942a-4238-906d-636885398952-2d323032322e30342e3038",
"notifyOff": false,
"userFacing": false
}
Scruffy
04/08/2022, 9:46 PMmattdahse
04/08/2022, 9:55 PMMartin
04/10/2022, 1:49 AMScruffy
04/11/2022, 2:27 PMoptions.author
accepts numbers and options.recipients
accepts a single string.
@Martin Yes i made an employee named "Don't Reply" for this as recommended by someone else last week.