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
Try using the ip address to connect instead of the domain name (mail.xxxxxxxxxxxxxxxxxxxx.com).
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:
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?