问题描述
Google App Engine 目前通过其 API 将您限制为每天 2,000 封电子邮件(免费).
Google App Engine currently limits you to 2,000 emails per day (for free) via their API.
如果您需要发送更多信息,是否可以使用第三方系统,我正在尝试找到一个明确的答案.我知道他们不允许使用原始套接字,所以我认为这种方法可能会有问题……但我肯定不是第一个看到它的人.
I am trying to find a definitive answer if it is possible to use a third-party system if you need to send more. I know that they disallow raw sockets, so I would assume that there might be trouble with this approach... but surely I'm not the first to see it.
在最坏的情况下,我可以构建一个我的 GAE 可以调用的简单的异地 Web 服务……但我更希望能够直接通过 SMTP 服务器发送.
Worst case, I can build a simple offsite web service that my GAE can call... but I'd much rather just be able to send directly through an SMTP server.
谢谢!
推荐答案
没有.
您是对的:您不能发出原始套接字请求,也不能发出任何其他直接出站请求,除非通过 urlfetch API.要与外部 SMTP 服务器通信,您需要使用网络服务作为代理.
You're correct: you cannot make raw socket requests, nor any other direct outbound requests except through the urlfetch API. To talk to an external SMTP server, you would need to use a webservice as a proxy.
这篇关于Google App Engine 可以使用第三方 SMTP 服务器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!