when sending email in a Scheduled script, who is t...
# ask-stanley-ai
t
when sending email in a Scheduled script, who is the author?
c
AI generated answer (using internal Slack threads):
When sending an email in a Scheduled script in NetSuite, the author of the email is typically the system or the admin user. This is because Scheduled and Map/Reduce scripts run with admin privileges. Therefore, the emails sent from these scripts would be sent from the system admin's address, not the currently logged in user. However, it's important to note that if the script triggers another script that sends an email, the author of the email might be the current user. If the current user doesn't exist, it could throw an error like
SSS_AUTHOR_MUST_BE_EMPLOYEE
. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.856506467
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844360471
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837585568
Please provide your feedback on this answer.