gabbano
04-12-2009, 14:01
I'm having trouble accessing my gmail account through the mail handler in PHP. I looked at the code, and I'm getting hung up on PHP's imap_open() function.
I'm trying to do the following
$mbox = imap_open("{imap.gmail.com:993/imap/ssl/novalidate-cert}", "xxxxx@gmail.com", "xxxxx") or die("Failed with error: ".imap_last_error());
And get the following error
Can't open mailbox {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification )
PHP configuration: http://www.bacuro.com/mblog/info.php
Hardware: ASUS WL500W
Firmware: Olegs
Webserver: lighttpd, eaccelerator, php
Someone managed to get imap_open work on olegs?
All help is appreciated.
I'm trying to do the following
$mbox = imap_open("{imap.gmail.com:993/imap/ssl/novalidate-cert}", "xxxxx@gmail.com", "xxxxx") or die("Failed with error: ".imap_last_error());
And get the following error
Can't open mailbox {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification )
PHP configuration: http://www.bacuro.com/mblog/info.php
Hardware: ASUS WL500W
Firmware: Olegs
Webserver: lighttpd, eaccelerator, php
Someone managed to get imap_open work on olegs?
All help is appreciated.