Why does MailApp.sendEmail from Google Spreadsheet Script not Work?
问题 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