[英]Getting exception while using SendGrid API Service (com.google.apphosting.api.ApiProxy$FeatureNotEnabledException)
I am using Sendgrid
mail service in java code.I am enable to run code on localhost system and its working successfully, but when I try to run this code on google app engine project then its giving me this exception: I am using free mail service account of Sendgrid. 我在Java代码中使用
Sendgrid
邮件服务。我可以在本地主机系统上运行代码并成功运行,但是当我尝试在Google App Engine项目上运行此代码时,它给了我这个例外:我正在使用免费邮件服务Sendgrid的帐户。
Exception is: 例外是:
com.google.apphosting.api.ApiProxy$FeatureNotEnabledException: The Socket API will be enabled for this application once billing has been enabled in the admin console.
com.google.apphosting.api.ApiProxy $ FeatureNotEnabledException:一旦在管理控制台中启用了结算功能,便会为此应用程序启用Socket API。
here is solution link,I am using SMTP API for mail service of sendgrid for free account but it will not work so,we can use WEB API. 这是解决方案链接,我正在使用SMTP API进行免费帐户的sendgrid邮件服务,但无法正常工作,我们可以使用WEB API。
sendgrid implementation without billing account in Google App Engine web project?
在Google App Engine Web项目中没有计费帐户的sendgrid实现?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.