MailApp.sendEmail Error Message - “do not have permission to call sendEmail” [duplicate]
问题 This question already has an answer here : Not allowed to execute sendEmail() from custom function, but OK in script editor (1 answer) Closed 4 years ago . When I change something in my spreadsheet, the onEdit() trigger runs, and I can see all the msgbox's that I put in my code. My function stops at this line MailApp.sendEmail(emailAddress, subject, message); I never see the message 'Email sent!', and get an error in the EXECUTION TRANSCRIPT: You do not have permission to call sendEmail If I