jlindenbaum

Member
Mar 29, 2006
6
0
151
I used the search function and came across a couple things that helped a little, but didn't answer my question.

I am sort of new to cPanel / WHM and am now working on getting deeper knowledge. The question is quite straight forward, but I couldn't find an answer (yet).

When using PHP's imap_open() I'm trying to access a INBOX that's on a cPanel system.
By pure ignorance I used 110 default POP port. But from what I've read that's wrong.

What port should I be using to connect to

{mail.myserver.com:PORT/pop3}INBOX?

2082?
2083?

Kind regards,
Johannes
 

HelloAdam

Well-Known Member
Nov 6, 2005
145
0
166
Hey,

25 - SMTP
465 - SMTP (SSL)
110 - POP3
995 - POP3 (SSL)
143 - IMAP
993 - IMAP (SSL)

These are standard ports, so they should work...

From,
Adam
 

jlindenbaum

Member
Mar 29, 2006
6
0
151
Thx for the reply!

Update:

Found the port I meant 2095 "webmail" port.

example:

if I do
imap_open("{mail.gawsolutions.com:110}INBOX", "[email protected]", "mypassword");

It returns false - no conclusive error I can work with...

If on the otherhand I use port 2095 (the one Horde, Neo and Squirrel run off) imap_open() rambles on 'til the script times out. Progress?

Does cPanel allow imap_open() or is there some sort of base restriction kicking in?