【问题标题】:adding sendgrid addon to my heroku django app将 sendgrid 插件添加到我的 heroku django 应用程序
【发布时间】:2013-01-31 12:25:43
【问题描述】:

我有一个托管在 heroku 上的 django 应用程序。我正在使用 django-registration 向注册用户发送验证电子邮件。所以,我尝试使用

添加 sendgrid 插件

heroku addons:add sendgrid

但失败并显示以下消息

Adding sendgrid:starter on myapp... failed
 !    Please verify your account to install this add-on
 !    For more information, see http://devcenter.heroku.com/categories/billing
 !    Verify now at https://heroku.com/verify

它似乎进入了一个要求我提供信用卡信息的页面。不幸的是我没有信用卡信息。我是否仍然可以在没有信用卡的情况下获得这个插件?

【问题讨论】:

    标签: heroku sendgrid


    【解决方案1】:

    Dev Center article 中所述,您必须添加信用卡才能使用免费插件。完成后,您可以may have to log out and back in 配置插件。

    【讨论】:

    • 作为替代方案,您可以使用 sendgrid.com 注册一个免费的 SendGrid 帐户并手动填写凭据。
    • @Swift - 这是我的方法。我不想将我的信用卡用于开发系统,即使理论上不会收费。这样,在实践中也不会收费:)
    • @Swift 如何在不添加插件的情况下做到这一点?可以参考一下步骤链接吗?
    • @bero 您需要手动设置 SENDGRID_USERNAME 和 SENDGRID_PASSWORD 使用 heroku config:add SENDGRID_USERNAME=xxxx SENDGRID_PASSWORD=yyyy devcenter.heroku.com/articles/sendgrid
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-04-14
    • 2020-11-10
    • 2021-10-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多