Automatic acquisition of POP3/IMAP/SMTP parameters for an email server

南笙酒味 提交于 2019-12-11 23:22:59

问题


I'm trying to find a way in order to retrieve POP3/IMAP/SMTP parameters for a specific e-mail server. What I would like to do is the following: given any e-mail address, such as xxxx@server.com/it/etc, retrieve the correct POP3/IMAP settings in order to retrieve e-mails from that account and SMTP settings in order to send e-mails from that account.

Practically, what I search is a way to retrieve the server parameters needed in order to send and receive emails, that is, I search the same function that some e-mail client normally do when you create a new account.

Thanks in advance.


回答1:


The auto-configuration mechanism of Mozilla Thunderbird is described on the following page:

  • https://developer.mozilla.org/de/docs/Mozilla/Thunderbird/Autoconfiguration

It uses either a_central database_ (known as ISPDB) or site-local configuration information accessible via special URLs. For example the correct IMAP settings for email addresses with the domain web.de can be found under the following URL:

  • https://autoconfig.thunderbird.net/v1.1/web.de



回答2:


Thunderbird does this as well as anyone and its source is available, so just download the source or look at it on the web.



来源:https://stackoverflow.com/questions/21643831/automatic-acquisition-of-pop3-imap-smtp-parameters-for-an-email-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!