Errors Linux Misc Networking Software

Imap/Gmail mark as read

I’ve “updated” my previous php-app.

Since today I ended up getting this error:

Warning: imap_open(): Couldn't open stream {}[Google Mail]/Spam in /home/yeri/.gmail.php on line 30
Certificate failure for unable to get local issuer certificate: /C=US/ST=California/L=Mountain View/O=Google Inc/ - Connection failed.

Simply searching this line:

$open = imap_open ("{}$path"

And editing it to:

$open = imap_open ("{}$path"

Solves the problem.

This will ignore the Google certificate. Please do double check that really points to Google, and it’s not some kind of DNS issue.

I’ve updated the 1st version, that ignores the certificate.

One reply on “Imap/Gmail mark as read”

Leave a Reply...