note 100827 modified in function.imap-open by danbrown
| From: | danbrown@php.net | Date: | Wed, 10 Nov 2010 01:29:26 +0000 |
| Subject: | note 100827 modified in function.imap-open by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173891@lists.php.net to get a copy of this message | ||
Using:
<?php
imap_open( "{server.example.com:143}INBOX" , 'login' , 'password' );
?>
Got this error:
"Couldn't open stream {server.example.com:143}INBOX"
Solved by adding the flag "novalidate-cert":
<?php
imap_open( "{server.example.com:143/novalidate-cert}INBOX" , 'login' ,
'password' );
?>
=D
--was--
Using:
imap_open( "{server.domain.com:143}INBOX" , 'login' , 'password' )
Got this error:
"Couldn't open stream {server.domain.com:143}INBOX"
Solved by adding the flag "novalidate-cert":
imap_open( "{server.domain.com:143/novalidate-cert}INBOX" , 'login' ,
'password' )
=D
http://php.net/manual/en/function.imap-open.php