Google App Engine可以使用第三方SMTP伺服器吗? [英] Can Google App Engine use a third party SMTP server?

查看:371
本文介绍了Google App Engine可以使用第三方SMTP伺服器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google App Engine目前通过其API限制您每天发送2,000封电子邮件(免费)。



如果您需要发送更多的内容,如果可以使用第三方系统,我正在尝试找到一个确定的答案。我知道他们不允许原始套接字,所以我认为这种方法可能有麻烦...但我肯定不是第一个看到它。



最糟糕的情况是,我可以构建一个简单的离线网站服务,我的GAE可以调用...但我只能通过SMTP服务器直接发送。



谢谢!


b b 您不能使用原始套接字请求,也不能使用任何其他直接出站请求,除非通过urlfetch API。要与外部SMTP服务器通信,您需要使用Web服务作为代理。


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.

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.

Thanks!

解决方案

Nope.

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伺服器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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