如何只给一个电子邮件地址自动检测远程IMAP / POP3服务器? [英] How to auto detect a remote IMAP/POP3 server given only an emailaddress ?

查看:97
本文介绍了如何只给一个电子邮件地址自动检测远程IMAP / POP3服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够允许人们通过我的PHP

在线申请查看他们的电子邮件。


只给用户1)电子邮件地址, 2)用户名(如果适用)和

3)密码 - 如何自动检测远程IMAP / POP3服务器以便

我可以连接并为用户提取邮件。 (最终,我不希望

用户必须知道IMAP / POP3服务器名称/端口是什么....我想要b $ b想自动 - 检测所有这些。


起初我以为我可以使用getmxrr但很快意识到这只是确定SMTP服务器的好处。


如果有人曾经添加帐户在Gmail偏好设置中,它基本上与Gmail自动检测

IMAP / POP3服务器的功能完全相同。


任何帮助将不胜感激。

I want to be able to allow people to check their email from my PHP
online application.

Given only the users 1) email address, 2) username (if applicable) and
3) password - how can I auto detect a remote IMAP/POP3 server so that
I can connect and fetch mail for the user. (Ultimately, I don''t want
users to have to know what the IMAP/POP3 server name / port is .... I
would like to auto-detect all of that).

At first I thought I could use "getmxrr" but quickly realized that is
only good for determining the SMTP server.

If anyone has ever "add account" in Gmail Preferences, it''s
essentially the exact same functionality where Gmail auto-detects the
IMAP/POP3 server.

Any help will be greatly appreciated.

推荐答案



" mp-" < mi ****** @ gmail.com写信息

新闻:b4 ************************ ********** @ x29g2000 prg.googlegroups.com ...

"mp-" <mi******@gmail.comwrote in message
news:b4**********************************@x29g2000 prg.googlegroups.com...

>我希望能够让人们检查他们的电子邮件来自我的PHP

在线申请。


仅给予用户1)电子邮件地址,2)用户名(如果适用)



3)密码 - 如何自动检测远程IMAP / POP3服务器



我可以连接并获取邮件用户。 (最终,我不想要
想要

用户必须知道IMAP / POP3服务器名称/端口是什么....



想要自动检测所有这些。


起初我以为我可以使用getmxrr但很快就意识到

只对确定SMTP服务器有好处。


如果有人曾经添加帐户在Gmail偏好设置中,它实际上与Gmail自动检测

IMAP / POP3服务器的功能完全相同。


任何帮助将不胜感激。
>I want to be able to allow people to check their email from my PHP
online application.

Given only the users 1) email address, 2) username (if applicable)
and
3) password - how can I auto detect a remote IMAP/POP3 server so
that
I can connect and fetch mail for the user. (Ultimately, I don''t
want
users to have to know what the IMAP/POP3 server name / port is ....
I
would like to auto-detect all of that).

At first I thought I could use "getmxrr" but quickly realized that
is
only good for determining the SMTP server.

If anyone has ever "add account" in Gmail Preferences, it''s
essentially the exact same functionality where Gmail auto-detects
the
IMAP/POP3 server.

Any help will be greatly appreciated.



只是尝试连接到服务器。

POP3和IMAP使用不同的端口号,所以如果其中任何一个没有

工作你试试另一个。


Richard。

Just try to connect to the server.
POP3 and IMAP use different port numbers, so if either one does not
work you try the other.

Richard.


12月28日上午11:54,理查德" < root @ localhostwrote:
On Dec 28, 11:54 am, "Richard" <root@localhostwrote:

" mp-" < miche ... @ gmail.com写信息


新闻:b4 *********************** *********** @ x29g2000 prg.googlegroups.com ...
"mp-" <miche...@gmail.comwrote in message

news:b4**********************************@x29g2000 prg.googlegroups.com...

我希望能够让人们查看他们的电子邮件我的PHP

在线申请。
I want to be able to allow people to check their email from my PHP
online application.


只给用户1)电子邮件地址,2)用户名(如果适用)



3)密码 - 如何自动检测远程IMAP / POP3服务器



我可以连接并为用户提取邮件。 (最终,我不想要
想要

用户必须知道IMAP / POP3服务器名称/端口是什么....



想要自动检测所有这些)。
Given only the users 1) email address, 2) username (if applicable)
and
3) password - how can I auto detect a remote IMAP/POP3 server so
that
I can connect and fetch mail for the user. (Ultimately, I don''t
want
users to have to know what the IMAP/POP3 server name / port is ....
I
would like to auto-detect all of that).


起初我以为我可以使用getmxrr但很快意识到

只是确定SMTP服务器的b $ b。
At first I thought I could use "getmxrr" but quickly realized that
is
only good for determining the SMTP server.


如果有人曾经添加帐户在Gmail偏好设置中,它基本上与Gmail自动检测

IMAP / POP3服务器的功能完全相同。
If anyone has ever "add account" in Gmail Preferences, it''s
essentially the exact same functionality where Gmail auto-detects
the
IMAP/POP3 server.


我们将非常感谢任何帮助。
Any help will be greatly appreciated.



只是尝试连接到服务器。

POP3和IMAP使用不同的端口号,所以如果其中任何一个没有

工作你试试另一个。


理查德。


Just try to connect to the server.
POP3 and IMAP use different port numbers, so if either one does not
work you try the other.

Richard.



Richard


感谢您的回复。我想我的问题是,如何知道

服务器imap / pop3只知道人员的电子邮件地址?


Richard

Thanks for the reply. I guess my question is, how do I figure out the
server imap/pop3 with only knowing the persons email address?




" mp-" < mi ****** @ gmail.com写信息

新闻:b5 ************************ ********** @ e23g2000 prf.googlegroups.com ...

"mp-" <mi******@gmail.comwrote in message
news:b5**********************************@e23g2000 prf.googlegroups.com...

12月28日上午11:54,Richard < root @ localhostwrote:
On Dec 28, 11:54 am, "Richard" <root@localhostwrote:

>" mp-" < miche ... @ gmail.com写信息

新闻:b4 *************************** ******* @ x29g200 0prg.googlegroups.com ...
>"mp-" <miche...@gmail.comwrote in message

news:b4**********************************@x29g200 0prg.googlegroups.com...

>我希望能够让人们从我的PHP查看他们的电子邮件

在线申请。
>I want to be able to allow people to check their email from my PHP
online application.


只给用户1)电子邮件地址,2)用户名(如果

适用)



3)密码 - 如何自动检测远程IMAP / POP3服务器



我可以连接并获取邮件为用户。 (最终,我不想要
想要

用户必须知道IMAP / POP3服务器名称/端口是什么

.. ..



想自动检测所有这些)。
Given only the users 1) email address, 2) username (if
applicable)
and
3) password - how can I auto detect a remote IMAP/POP3 server so
that
I can connect and fetch mail for the user. (Ultimately, I don''t
want
users to have to know what the IMAP/POP3 server name / port is
....
I
would like to auto-detect all of that).


起初我以为我可以使用getmxrr但很快意识到





只对确定SMTP服务器有好处。
At first I thought I could use "getmxrr" but quickly realized
that
is
only good for determining the SMTP server.


如果有人曾经添加帐户在Gmail偏好设置中,它基本上与Gmail自动检测

IMAP / POP3服务器的功能完全相同。
If anyone has ever "add account" in Gmail Preferences, it''s
essentially the exact same functionality where Gmail auto-detects
the
IMAP/POP3 server.


我们将非常感谢任何帮助。
Any help will be greatly appreciated.


只是尝试连接到服务器。
POP3和IMAP使用不同的端口号,所以如果其中任何一个没有工作,你可以尝试另一个。


Just try to connect to the server.
POP3 and IMAP use different port numbers, so if either one does not
work you try the other.

Richard.




Richard


感谢您的回复。我想我的问题是,如何知道

服务器imap / pop3只知道人员的电子邮件地址?



Richard

Thanks for the reply. I guess my question is, how do I figure out
the
server imap/pop3 with only knowing the persons email address?



邮件服务器应该在DNS中,而不是?


R.

The mailserver should be in DNS, not?

R.


这篇关于如何只给一个电子邮件地址自动检测远程IMAP / POP3服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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