I'm Trying to send email using MailApp.sendEmail
in a Google Spreadsheet Script following this example: https://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/ by @mhawksey
see: https://docs.google.com/spreadsheets/d/1mhY_hJMMPTmxq3TFAUHK0tKFhGYBpzus-dXE3U5TQdc/edit?usp=sharing
The Test web app for your latest code. function works. (email is sent)
But when I try to trigger the sendEmail()
via a POST
request it does not work.
I'm following the documentation: https://developers.google.com/apps-script/reference/mail/mail-app
And yet when I trigger the sendEmail()
function from my script, it does not send an email.
What am I doing wrong?
Looked at:
But I want to understand if I am doing something wrong...
Full Steps and code: https://github.com/nelsonic/web-form-to-google-sheet#12-google-apps-script