Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.6.8
-
Fix Version/s: Unscheduled
-
Component/s: CiviMail
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
IMAP login didn't work.
I'm using Zoho Email.
It has the same problem as with GMail.
I changed this file:
sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php
In the method 'authenticate' I changed these lines:
//if ( $this->serverType === self::SERVER_GIMAP && strpos( $response, "* CAPABILITY" ) === 0 )
//
if ( strpos( $response, "* CAPABILITY" ) === 0 )
{ $response = trim( $this->connection->getLine() ); }Now it works like a charm.
You may want to add another constant for Zoho like self::SERVER_GIMAP, or to find a more general solution.