在Google应用引擎中从不同的域发送邮件 [英] Send mail from a different domain in google app engine
问题描述
我从邮件文档中了解到,GAE有限哪些邮件可以从应用程序发送时发送。有可用于在不同的域(基本上转发)接收收到的邮件,但是有什么选项可以从应用程序发送邮件。理想情况下,我希望我的应用程序能够在我的应用程序中为每个用户的不同地址发送邮件,以便收到回复时,我可以将其与发送给他们的用户相匹配。
I understand from the mail documentation that GAE is limited in who mail can come from when sent by the app. There are options for receiving incoming mail on a different domain (basically having it forwarded) but are there any options for sending mail from an app. Ideally i'd like my app to be able to send mail from a different address for each user in my app, so that when replies were received I could match them up to the user that sent them.
我希望电子邮件来自< userid> @< custom.domain> .com
,但可以生活在能够发送他们从< userid> @ app-id.appspotmail.com
。
I'd ideally like the emails to come from <userid>@<custom.domain>.com
but could live with being able to send them from <userid>@app-id.appspotmail.com
.
我有任何选择
推荐答案
据我所知,您唯一的选择是通过URLFetch与外部服务器进行通信。外部服务器将负责通过通常的方式发送和接收电子邮件,并提供您的AppEngine应用程序可以使用的Web服务界面。
As far as I know, your only option would be to communicate with an external server that via a URLFetch. The external server would be responsible for sending and receiving email through the usual means and providing a web service interface that your AppEngine app could use.
这篇关于在Google应用引擎中从不同的域发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!