Mail Service

Mail

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

NameBrief description
MailAppSends email.

MailApp

Methods

MethodReturn typeBrief description
getRemainingDailyQuota()IntegerReturns the number of remaining emails a user can send for the rest of the day.
sendEmail(message)voidSends an email message.
sendEmail(recipient, subject, body)voidSends an email message.
sendEmail(recipient, subject, body, options)voidSends an email message with optional arguments.
sendEmail(to, replyTo, subject, body)voidSends an email message.

フィードバックを送信...