如何通过Web应用程序与邮件服务器通信 [英] How to communicate with a mail server through a web application

查看:229
本文介绍了如何通过Web应用程序与邮件服务器通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不熟悉邮件服务器,所以请原谅我的无知。

I am really unfamiliar with mail servers in general so please excuse my ignorance.

我需要能够通过我的基于Spring的Web应用程序来管理邮件服务器。通过管理,我的意思是为新用户创建邮件帐户,监听来自这些用户的传入更新,删除帐户,删除用户帐户等等。

I need to be able to administer a mail server through my Spring-based web application. By administer, I mean creating mail accounts for new users, listening for incoming updates from those users, deleting accounts, when user accounts are deleted, etc, etc, etc.

我假设邮件服务器(至少是好的)提供某种服务API(SOAP,REST,没关系),应用程序可以通过这些API挂钩并进行更改。但是,我真的不熟悉什么是好的开源服务器,以及他们提供什么选择。

I assume that mail servers (at least the good ones) provide some sort of a service API (SOAP, REST, it doesn't matter) through which an application can hook, and make changes. However, i am really unfamiliar with regards to what the good open-source servers out there are, and what options they provide.

如果有人可以提出建议,我会很高兴一个解决方案。

I will be glad if someone, could propose a solution.

推荐答案

有一个名为 Zimbra ,它有一个开放源代码社区版本,它有一个REST接口,也是一个SOAP。

There is a mail server called Zimbra which has an open source community edition, which has a REST interface and also a SOAP one.


  • REST参考(如果我理解正确,这不符合您的需求,因为您只能通过此操作现有帐户)

  • SOAP界面;一个例子 here ,论坛上还有很多其他的。

  • REST reference (if I understand correctly this won't suit your needs because you can only manipulate existing account via this)
  • SOAP interface; one example here, there are many others on the forum.

这篇关于如何通过Web应用程序与邮件服务器通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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