note 107414 added to function.imap-open

From: Date: Tue, 07 Feb 2012 14:50:32 +0000
Subject: note 107414 added to function.imap-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-185895@lists.php.net to get a copy of this message
Thank you for this completely non-obvious tip, which solved the problem for me. To help search engines find this tip: the resulting error is "PHP Warning: imap_open(): Couldn't open stream /home/your-directory/the-file-name in the-script-name on line XX" If you include: $str = imap_errors(); echo("imap_errors():\n"); print_r($str); you will see: imap_errors(): Array ( [0] => Can't open mailbox /home/your-directory/the-file-name: no such mailbox ) ---- Server IP: 195.250.77.48 Probable Submitter: 108.224.176.74 ---- Manual Page -- http://www.php.net/manual/en/function.imap-open.php Edit -- https://master.php.net/note/edit/107414 Del: integrated -- https://master.php.net/note/delete/107414/integrated Del: useless -- https://master.php.net/note/delete/107414/useless Del: bad code -- https://master.php.net/note/delete/107414/bad+code Del: spam -- https://master.php.net/note/delete/107414/spam Del: non-english -- https://master.php.net/note/delete/107414/non-english Del: in docs -- https://master.php.net/note/delete/107414/in+docs Del: other reasons-- https://master.php.net/note/delete/107414 Reject -- https://master.php.net/note/reject/107414 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185895) next »