应用程序引擎的电子邮件客户端

发布于 2024-10-10 01:56:09 字数 205 浏览 0 评论 0原文

GAE 支持传入和传出电子邮件:http://code.google.com/appengine/ docs/python/mail/

是否有为 GAE 编写的开源电子邮件客户端?处理编码问题、附件、按对话分组等的东西。

GAE supports both incoming and outgoing emails: http://code.google.com/appengine/docs/python/mail/

Have any open source email clients been written for GAE? Something that handles encoding issues, attachments, grouping by conversations, etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

吃不饱 2024-10-17 01:56:09

Google App Engine SDK可以发送和接收电子邮件;但是,存在某些限制,会阻止构建实际的电子邮件客户端:

http://code.google.com/appengine/docs/python/mail/receivingmail.html

我看到的问题是您需要让您的用户设置转发规则,以便传入的邮件使用上述格式转发到您的应用程序。这意味着他们需要依赖其他电子邮件服务,这就引出了一个问题:您的电子邮件服务会在现有服务的基础上增加什么价值。

发送也不是那么糟糕。 Google App Engine 应用程序可以代表使用其 Google 帐户登录的用户发送邮件,因此可以使用用户的 Google 帐户构建出站电子邮件客户端。

http://code.google.com/appengine/docs/python/ mail/sendingmail.html

对于接收邮件,此处有有关如何通过从现有电子邮件客户端转发邮件来执行此操作的说明。目前无法使用您自己的域来接收电子邮件而不转发:

使用 Google App Engine 自定义传入邮件域

总之,为了回答您的问题,如果有人在 App Engine 上构建了电子邮件客户端,那么他们没有将其公开或进行足够的营销以显示在搜索结果中。即便如此,它们的实施仍将受到上述限制。

The Google App Engine SDK can send and receive email; however, there are certain limitations in place that would prevent an actual email client from being built:

http://code.google.com/appengine/docs/python/mail/receivingmail.html

The problem I see with this is that you would need to have your users setup forwarding rules in their Google Accounts so that incoming mail is forwarded to your app using the above format. This means that they would need to rely on another email service, which would beg the question of what value yours would add over top of the existing service.

Sending is not quite so bad. The Google App Engine App can send mail on behalf of users logged in with their Google Account, so one could build an outbound email client using a user's Google Account.

http://code.google.com/appengine/docs/python/mail/sendingmail.html

For receiving mail, there are instructions here on how to do that by forwarding mail from an existing email client. It is currently not possible to use your own domain to receive emails without forwarding:

Custom Incoming Mail Domain With Google App Engine

In summary, to answer your question, if someone has built an email client on App Engine, they have not made it public or done enough marketing to appear in search results. Even so, their implementation would be subject to the limitations described above.

不如归去 2024-10-17 01:56:09

如果您正在寻找一个通用的基于网络的电子邮件客户端,例如 Horde 在 App Engine 上运行会说你还没有运气。

GAE 阻止所有传入和传出 RAW Socket 流量;要访问外部云,您需要使用 URLFetch API,而且它仅允许您访问 HTTP 网站。因此,您无法从应用程序中进行 POP3 或 IMAP 通信,也无法侦听 SMTP 流量。

您需要一些中间服务,通过在 GAE 外部服务器(例如 VPS、EC2、Rackspace 等)上运行的 HTTP Web 服务来中继 POP3 或 IMAP。

If you are looking for a general purpose Web-based Email client like Horde to run on the App Engine I'd say you are out of luck yet.

GAE blocks all incoming and outgoing RAW Socket traffic; to access the outside cloud you need to use the URLFetch API, and it only allows you to access HTTP websites. So you can't talk POP3 or IMAP from your app, nor you can listen to SMTP traffic.

You'd need some intermediate service that relays POP3 or IMAP through an HTTP web service running on a server outside GAE, like a VPS, EC2, Rackspace, etc.

傲娇萝莉攻 2024-10-17 01:56:09

我最终在 GAE 上编写了自己的帮助台风格的应用程序,并具有一些基本的电子邮件功能。到目前为止工作良好。

I ended up writing my own helpdesk style app on GAE, with some basic email functionality. Working well so far.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文