Jump to content

IMAP Open gmail error. Too many e-mails


varu

Recommended Posts

This is the code:

$label = '[Gmail]/All Mail';

$gmailConnection = imap_open('{imap.gmail.com:993/ssl/novalidate-cert}'.$label, $username, $password, OP_READONLY);

if( $gmailConnection === false )

die('Cannot connect to gmail, account '.$username.'<br />Error: '.imap_last_error());

 

 

Thank you

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.