This service allows scripts to send email on a user's behalf. See also Gmail Service. Unlike Gmail Service, Mail Service's sole purpose is sending email; it cannot access a user's Gmail account.
Classes
Name | Brief description |
---|---|
MailApp | Sends email. |
MailApp
Methods
Method | Return type | Brief description |
---|---|---|
getRemainingDailyQuota() | Integer | Returns the number of recipients you can send emails to for the rest of the day. |
sendEmail(message) | void | Sends an email message. |
sendEmail(recipient, subject, body) | void | Sends an email message. |
sendEmail(recipient, subject, body, options) | void | Sends an email message with optional arguments. |
sendEmail(to, replyTo, subject, body) | void | Sends an email message. |