Unable to Send Mails from Google sheets

734 views
Skip to first unread message

Himu SofTech Support

unread,
Nov 2, 2022, 6:32:59 AM11/2/22
to Google Apps Script Community
Hi,

I was able to send emails from google sheets, Suddenly the following error is throwing us Request you to kindly help resolve this issue.
Error.....
Exception: You do not have permission to call MailApp.sendEmail. Required permissions: https://www.googleapis.com/auth/script.send_mail

I have already added the auth scopes in the manifest file
 

cbmserv...@gmail.com

unread,
Nov 2, 2022, 6:14:35 PM11/2/22
to google-apps-sc...@googlegroups.com

Try running the function manually and when authorization pop up comes, approve the scopes it requests. You may not have added the correct scope in your manifest. There are several email related ones.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e7deb740-3244-4830-b6ba-6a466189cf7fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages