I send 200 emails to a community of students via a google-spreadsheet attached google script.
My mailing call is as follow :
MailApp.sendEmail(
"[email protected]", // targetEmail
"HELLO FROM KING OF NIGERIA", // emailTitle
"", // something
// emailContentHTML
{ htmlBody: "<b>Hello John</b><br><p>I'am king of Nigeria.<br>Got gold everywhere.<br>Need your help I'am in danger.<br>Want to share with you.<br>Could you send me 50$<br>Sinceraly, your friend.</p>"}
);
The script being run by my google account [email protected]
, the 200+ participants see the email as coming from me ([email protected]
). I understand this is fair game to limit spamming and co, but my company has a gmail entreprise.com
domain name and I would like a solution so to not get dozens of "Thanks you" alerts in the following days. For sure, I do NOT want them to keep me in their following discussion.
So I look for something such as create a [email protected]
account, and then a js thing so the script sign email with this [email protected]
email.
Also, is there a way to programatically sign the google-script mailing from an other account of my company ([email protected]
) ?
Note : google-script-manual