imap is not connecting to mail server from live se

2019-09-03 19:07发布

I could connect to a mail server from my localserver my when I uploaded that file to a server I am getting the following error

Notice: Unknown: rsh to IMAP server timed out (errflg=1) in Unknown on line 0

Notice: Unknown: Connection failed to mail.xxxxxxxxxxxxxxxxxxxx.com,143: Connection refused (errflg=2) in Unknown on line 0

Please help Thanks

标签: php imap
3条回答
forever°为你锁心
2楼-- · 2019-09-03 19:55

Try using the ip address to connect instead of the domain name (mail.xxxxxxxxxxxxxxxxxxxx.com).

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-09-03 19:58

Is your server behind a firewall or a NAT router ? Otherwise does it resolve to the same IP when you try to look it up from the remote and local host ? Check with:

nslookup mail.xxxxxxxxxxxxxxxxxxxx.com

查看更多
smile是对你的礼貌
4楼-- · 2019-09-03 20:10

Server may miss or have broken libraries.

If you have a ssh-connection at server you could try to open an IMAP-connection over telnet. (Initiated from server).

Just google "telnet imap" and try a login. If success, library error, if no success. Firewall?

查看更多
登录 后发表回答