在 GAE 中创建 appspotmail 地址以接收电子邮件
Creating appspotmail address to receive eMail in GAE
我在 GAE 中设置了一个应用程序,我希望能够接收电子邮件。
文档说:
You can set up your app to receive incoming email at
string@appid.appspotmail.com addresses
GAE documentation
我没有发现任何可能在应用程序中以这种形式创建邮件(例如 service@appid.appspotmail.com)。
谁能帮我设置一个 appspot 邮件地址并将其分配给应用程序? (我不知道是否需要在应用程序的权限设置中分配地址,或者只输入应用程序的 web.xml 是否足够)
谢谢!
您所要做的就是在 appengine-web.xml
中添加以下内容:
<inbound-services>
<service>mail</service>
</inbound-services>
来源:GAE documentation - Receiving Mail
完成后,@yourappname.appspotmail.com
中的任何地址都将有效。
我在 GAE 中设置了一个应用程序,我希望能够接收电子邮件。
文档说:
You can set up your app to receive incoming email at string@appid.appspotmail.com addresses GAE documentation
我没有发现任何可能在应用程序中以这种形式创建邮件(例如 service@appid.appspotmail.com)。
谁能帮我设置一个 appspot 邮件地址并将其分配给应用程序? (我不知道是否需要在应用程序的权限设置中分配地址,或者只输入应用程序的 web.xml 是否足够)
谢谢!
您所要做的就是在 appengine-web.xml
中添加以下内容:
<inbound-services>
<service>mail</service>
</inbound-services>
来源:GAE documentation - Receiving Mail
完成后,@yourappname.appspotmail.com
中的任何地址都将有效。