MailApp.sendEmail() in Google Apps Script not sending email

前端 未结 1 1788
盖世英雄少女心
盖世英雄少女心 2020-12-02 02:55

We establish Google G Suite for our clients and over the last few weeks, we have found that Google Apps Script does not process the MailApp.sendEmail() as expected. It only

相关标签:
1条回答
  • 2020-12-02 03:03

    Try using GmailApp.sendEmail()

    // The code below will send an email with the current date and time.
    var now = new Date();
    GmailApp.sendEmail("mike@example.com", "current time", "The time is: " + now.toString());
    

    which is the recommended one now.

    0 讨论(0)
提交回复
热议问题