Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to connect to my mailbox on my hosting via imap_open() (php) . But its throwing authentication failed error.
According to my hosting provider they have disabled telnet for security reasons. Could disabling telnet cause php to not be able to make an imap connection ??

share|improve this question

1 Answer 1

No. These are different protocols. IMAP is working on port 143 and telnet on port 23. Your confusion likely comes from the fact that IMAP is a text based protocol and you can use the telnet client program to control an IMAP session.

If the error messages states that the authentication failed, this is a strong hint that the IMAP server is working and answering your connection attempts but you somehow failed to offer proper credentials.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.