note 107130 added to function.imap-open

From: Date: Mon, 09 Jan 2012 23:07:21 +0000
Subject: note 107130 added to function.imap-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-185507@lists.php.net to get a copy of this message
I'm new to PHP n Mac .I'm using NetBeans with MAMP.Everything is latest version .Enabled SSL support for IMAP by replacing imap.so in extensions folder from http://www.vargatron.com/tag/php-mamp-os-x-gmail/ . 1. how to verify SSL support for IMAP has been enabled or not after replacing imap.so ? 2. I used the following code from an example given above .The screen is blank when I run it.Even debugging doesn't help as it gets stuck on the if condition .Can't even see the value of $mbox. <?php //goggle with pop3 or imap //$authhost="{pop.gmail.com:995/pop3/ssl/novalidate-cert}"; $authhost="{imap.gmail.com:993/imap/ssl/novalidate-cert}"; $user="buksndufs@gmail.com"; $user="buksndufs@gmail.com"; $pass="password"; if ($mbox==imap_open( $authhost, $user, $pass )) { echo "<h1>Connected</h1>\n"; imap_close($mbox); } else { echo "<h1>FAIL!</h1>\n"; } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 14.96.84.142 ---- Manual Page -- http://www.php.net/manual/en/function.imap-open.php Edit -- https://master.php.net/note/edit/107130 Del: integrated -- https://master.php.net/note/delete/107130/integrated Del: useless -- https://master.php.net/note/delete/107130/useless Del: bad code -- https://master.php.net/note/delete/107130/bad+code Del: spam -- https://master.php.net/note/delete/107130/spam Del: non-english -- https://master.php.net/note/delete/107130/non-english Del: in docs -- https://master.php.net/note/delete/107130/in+docs Del: other reasons-- https://master.php.net/note/delete/107130 Reject -- https://master.php.net/note/reject/107130 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185507) next »