Mail Service
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
邮件
此服务允许脚本代表用户发送电子邮件。另请参阅 Gmail 服务。与 Gmail 服务不同,邮件服务的唯一用途是发送电子邮件;它无法访问用户的 Gmail 账号。
类
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["The Mail service enables scripts to send emails. It differs from Gmail Service by only sending emails, lacking access to Gmail accounts. The `MailApp` class facilitates this with methods like `sendEmail()` to dispatch messages, accepting variations in arguments for recipients, subject, body, and options. `getRemainingDailyQuota()` method returns the number of remaining recipients allowed for the day. The service focuses solely on outbound email functionality.\n"],null,[]]