Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Sending Email in Apps Script

Class MailApp used to Send email.

This service allows users to send emails with complete control over the content of the email.
Unlike GmailApp, MailApp's sole purpose is sending email.
MailApp cannot access a user's Gmail inbox.
Changes to scripts written using GmailApp are more likely to trigger a re-authorization request from a user than MailApp scripts.

We can use four different methods of MailApp class to send an email

  • sendEmail(message)
  • sendEmail(recipient, subject, body)
  • sendEmail(recipient, subject, body, options)
  • sendEmail(to, replyTo, subject, body)



The best way to get IT support is to use the new Service One Platform.