Attempting to connect to imap.gmail.com using the Mail component triggers a PHP fatal error in Mail/src/transports/imap/imap_transport.php (tried versions 1.6 and 1.6.3 of that file).
This component was working fine with the same credentials and server settings recently. Error reported in the CiviCRM project, where the speculation is that this is based on a Google Mail protocol behavior change: http://forum.civicrm.org/index.php/topic,10721.0.html
Error looks like the following:
connecting to imap.gmail.com, authenticating as civimail@domain.org and selecting INBOX
Fatal error: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. The IMAP server did not accept the username and/or password: * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.' in /...[deleted].../public_html/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php:515 Stack trace: #0 /...[deleted].../public_html/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore/Imap.php(61): ezcMailImapTransport->authenticate('civimailuser@...', 'password') #1 /...[deleted].../public_html/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php(61): CRM_Mailing_MailStore_Imap->__construct('imap.gmail.com', 'civimailuser@...', 'password', true, NULL) #2 /...[deleted].../public_html/administrator/components/com_civicrm/civicrm/bin/CiviMailProcessor.php(91): CRM_Mailing_MailStore::getStore(NULL) #3 /...[deleted].../public_html/administrator/compone in /home/carolina/public_html/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php on line 515