【问题标题】:"Recipients Emailed" Quota Reached When Emailing Same Address Multiple Times多次通过电子邮件发送同一地址时达到的“通过电子邮件发送的收件人”配额
【发布时间】:2019-03-04 22:09:16
【问题描述】:

我在 Google App Engine 上编写了一个应用程序,可以将电子邮件发送到一个地址。该应用程序在测试期间达到了“通过电子邮件发送的收件人”配额限制。是否应将同一电子邮件地址多次计入“已发送电子邮件的收件人”配额?

这是发送电子邮件的代码。

import  "google.golang.org/appengine/mail"

-

msg := &mail.Message{
    Sender:   "Order <order@xxxxxxxxxxxx.appspotmail.com>",
    To:       []string{"Ben <xxxxxxxxxxxx@gmail.com>"},
    Subject:  "Order Received",
    HTMLBody: htmlBody,
}
if err := mail.Send(ctx, msg); err != nil {
    log.Errorf(ctx, "Couldn't send email: %v", err)
}

我的配额使用情况

Google's API Quotas

【问题讨论】:

    标签: email google-app-engine go quota


    【解决方案1】:

    是的,实际上是这样计算的。使用的资源命名具有误导性。

    请注意,表中的度量单位实际上是messagesmails,而不是收件人/管理员。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-11
      • 2016-03-10
      • 2011-07-21
      • 2011-07-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-30
      相关资源
      最近更新 更多