Google App Engine网络项目中没有结算帐户的sendgrid实现? [英] sendgrid implementation without billing account in Google App Engine web project?

查看:405
本文介绍了Google App Engine网络项目中没有结算帐户的sendgrid实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用sendgrid API发送批量电子邮件。我们在使用谷歌应用程序引擎的Android和Web上使用云应用程序。我们知道Google应用程序引擎的配额有限。因此,我们应该使用免费的ie12k /月发送电子邮件。我们已经正确地集成了它。如果我在本地运行代码,例如localhost:888,它可以工作,但是如果我部署代码并从那里尝试,那么我会得到下面的异常。我已经在sendgrid上创建了一个帐户,并已验证为

I am using sendgrid APIs to send bulk emails.We have cloud application in android and web using google app engine.As we know google app engine has limited quota.So we supposed to use FREE i.e.12k/month to send emails.We have integrated it properly.If I run the code at local side i.e. localhost:888, it works but if I deploy the code and try it from there then I am getting below exception.I have created an account on sendgrid already and verified as well.


com.google.apphosting.api.ApiProxy $ FeatureNotEnabledException:将为此应用程序启用
Socket API帐单在管理控制台中已启用

com.google.apphosting.api.ApiProxy$FeatureNotEnabledException: The Socket API will be enabled for this application once billing has been enabled in the admin console

是否真的需要拥有结算帐户?

Is it really needed to have billing account?

推荐答案

您可以使用sendgrids web api ,它不需要App Engine中的Socket API。
如果您想使用sendgrid的SMTP API,您必须启用结算功能。但我建议使用web api。

You can use sendgrids web api which does not require the Socket API in App Engine. If you want to use sendgrid's SMTP API you will have to enable billing. I would recommend using the web api though.

他们有一个示例我成功在我的一个项目中使用它。

They have an example i successfully use in one of my projects.

这篇关于Google App Engine网络项目中没有结算帐户的sendgrid实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆