简体   繁体   中英

Google Apps Script mailApp.sendEmail Not working

I receive the following Error in my script when trying to use mailApp.sendEmail:

[17-02-01 13:51:13:522 PST] Execution failed: Failed to send email to *******@eicc.edu,******@eicc.edu,*******@eicc.edu (line 115, file "Code") [7.642 seconds total runtime]

I just masked the beginning of the email address for privacy. The part I don't like is that it says it just "Failed to send email" without any other explanation. Has anyone else run into this one?

I just found out the answer this morning. The account we were using to authorize the triggers had a "Domain Email" only setup. The code itself worked. Thank you for your help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM