从Google App Engine发送电子邮件 [英] Send emails from Google App Engine

查看:227
本文介绍了从Google App Engine发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台装有Django的网络服务器,由Apache服务器托管。我想为电子邮件服务器配置Google App Engine。当使用Google Mail API的EmailMessage或sendmail基础结构发送任何电子邮件时,我的Web服务器应该能够使用Google App Engine。

我了解到,通过使用Remote API,我可以从我的主Web服务器访问Google App Engine服务器。但是,我无法访问Google App Engine支持的邮件API。

Remote API严格适用于Datastore吗?如果是这样,只能从数据库中读取数据并且不能使用其他API调用? 解决方案

远程API的示例代码给出你是一个交互式控制台,你可以从中访问应用程序中的任何 模块。我没有要求他们只是数据存储操作。


I have a web server with Django, hosted with Apache server. I would like to configure Google App Engine for the email server. My web server should be able to use Google App Engine, when it makes any email send using EmailMessage or sendmail infrastructure of Google Mail API.

I learnt that by using Remote API, I can access Google App Engine server from my main web server. However, I could not access the Mail APIs supported by Google App Engine.

Is the Remote API strictly for Datastore? If so, can only the DB read from it and no other API calls can?

解决方案

The example code for the remote APi gives you an interactive console from which you can access any of the modules in your application. I see no requirement that they be only datastore operations.

这篇关于从Google App Engine发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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