如何以编程方式管理(创建/删除)电子邮件地址?
我正在构建一个 Web 应用程序,该应用程序还允许我的用户注册/转移域并通过我的应用程序管理电子邮件地址。但是,我还不太确定该怎么做。我认为有一些带有 API 的服务可以让我注册域名。然而,使用 DNS、MX 记录、电子邮件地址和运行电子邮件服务器是我以前从未做过的事情。关于自动化管理电子邮件帐户的过程,我需要了解哪些信息,以及已有哪些类型的解决方案?
I am building a web application that will also allow my users to register/transfer a domain and manage email addresses through my application. However, I'm not exactly sure how to do that yet. I think there are services with APIs that will allow me to register domain names. However, working with DNS, MX records, email addresses and running an email server is something I've never done before. What do I need to know about automating this process of managing email accounts, and what sorts of solutions already exist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于电子邮件地址部分,请查看 如何通过 Web 应用程序与邮件服务器通信
dns 部分几乎相同,但您需要一个带有数据库后端的 dns 权威服务器,例如powerdns (数据库配置文档)
如果您不想自己运行 dns 服务器,powerdns 还提供托管 API 访问
for the email address part, have a look at How to communicate with a mail server through a web application
the dns part is pretty much the same, but you need a dns authoritative server with a database backend, such as powerdns (database configuration docs)
if you don't want to run the dns servers yourself, powerdns also offers hosting with API access