#28226 [NEW]: imap-c-client installed, but not working as expected, undefined functions

From: Date: Thu, 29 Apr 2004 23:17:45 +0000
Subject: #28226 [NEW]: imap-c-client installed, but not working as expected, undefined functions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59040@lists.php.net to get a copy of this message
From: dev dot null at multiartstudio dot com Operating system: rh7.2 PHP version: 4.3.6 PHP Bug Type: IMAP related Bug description: imap-c-client installed, but not working as expected, undefined functions Description: ------------ hello to all, sorry im coming up with that again, i saw and read other bugreports about that, but this doesnt solve my problem. i tried to get help from the list, but its growing to fast as somebody will take acknowledge to my request. also i searched the web, but this was not very useful. i have some trouble using imap functions with php. php 4.3.6 has been compiled with --with-imap=/usr/local and the imap-c-client2004rc9 include files rfc822.h/mail.h/linkage.h where copied to /usr/local/include phpinfo() tells me it has in version 4.1 also. also courier-imap works fine. now i tried to write a tool to get all accounts from database and login via imap to list the quotas. Reproduce code: --------------- $MAILSRV="MYIP:143/imap"; $mbox = imap_open ("{".$MAILSRV."}INBOX", "user", "pass") or die("can't connect: " . imap_last_error()); ...this is what i use to connect my imapserver, MYIP=xxx.xxx.xxx.xxx, oficial ip with ptr but connection fails and server says: * Warning*: imap_open(): Couldn't open stream {217.175.253.115:143/imap}INBOX in */home/WWW/m000000/share/html/.testflug.de/imapquota.php* on line *3* can't connect: Can not authenticate to IMAP server: Authentication failed. but user and pass is the same as for pop3, and if i use pop3 login: $MAILSRV="MYIP:110/pop3"; then connecting the server goes well! my imap server is courier 3.0.3 (but also on 1.4x and 2.x this script fails) Expected result: ---------------- $MAILSRV="MYIP:143/imap"; $mbox = imap_open ("{".$MAILSRV."}INBOX", "user", "pass") or die("can't connect: " . imap_last_error()); ...this is what i use to connect my imapserver, MYIP=xxx.xxx.xxx.xxx, oficial ip with ptr but connection fails and server says: * Warning*: imap_open(): Couldn't open stream {217.175.253.115:143/imap}INBOX in */home/WWW/m000000/share/html/.testflug.de/imapquota.php* on line *3* can't connect: Can not authenticate to IMAP server: Authentication failed. but user and pass is the same as for pop3, and if i use pop3 login: $MAILSRV="MYIP:110/pop3"; then connecting the server goes well! my imap server is courier 3.0.3 (but also on 1.4x and 2.x this script fails) Actual result: -------------- yours sincerely volker -- Edit bug report at http://bugs.php.net/?id=28226&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28226&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28226&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28226&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28226&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28226&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28226&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28226&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28226&r=support Expected behavior: http://bugs.php.net/fix.php?id=28226&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28226&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28226&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28226&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28226&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28226&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28226&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28226&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28226&r=float

« previous php.bugs (#59040) next »