|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-27 22:20 UTC] jaime at iguana-farm dot com
I am to open a connection to an ipSwitch iMail ver 6.06 POP3 server using imap_open(). I have tried this under RedHat 7.2 and FreeBSD with PHP versions 4.2.3, 4.1.2 with the same results. Under FreeBSD ver 4.0.6 it works.
[jaime@lizard test]$ php -q test.php
<br />
<b>Warning</b>: Couldn't open stream {mail.seismicom2.com:110/pop3}INBOX
in <b>.../test/test.php</b> on line <b>3</b><br />
Array
(
[0] => Retrying CRAM-MD5 authentication after
[1] => Retrying CRAM-MD5 authentication after Invalid userid/password
[2] => Retrying CRAM-MD5 authentication after illegal command
[3] => Retrying CRAM-MD5 authentication after authentication exchange failed
[4] => Can not authenticate to POP3 server: authentication exchange failed
)
[jaime@lizard test]$ cat test.php
<?php
$mbox = imap_open("{mail.imailserver.com:110/pop3}INBOX", "user", "passwd");
print_r(imap_errors());
?>
Is this a c-client problem?
Thanks,
Jaime
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 07:00:01 2025 UTC |
Yes, this is most likely a c-client problem. But do try this call: imap_open("{mail.imailserver.com:110/pop3/notls}INBOX", .. (notice the 'notls' there..) And what versions of c-client did you use to build 4.0.6 and 4.2.3? And what were the configure lines used? It also depends a lot on how the c-client was build and with what options..I have the same problem... $type = "pop"; $aServer = "mail.mycaboodle.com"; $spec = "{".$aServer.":".$aPort."/$type/notls"."}"."INBOX"; $mbox = @imap_open($spec, $aAccount['user_name'], $aAccount['password']); print_r(imap_errors()); results in: rray ( [0] => Retrying CRAM-MD5 authentication after [1] => Retrying CRAM-MD5 authentication after Invalid userid/password [2] => Retrying CRAM-MD5 authentication after illegal command [3] => Retrying CRAM-MD5 authentication after authentication exchange failed [4] => Can not authenticate to POP3 server: authentication exchange failed ) I am using imap-2002c1 for c-client under RH7.2. I am struggling with this because I can log in via command line. The mail server I am trying to connect to: mail.mycaboodle.com is running Imail 8.00, which is the only mail server I have seen in my hunting for a solution that this error occurs on.