← Back to team overview

mahara-contributors team mailing list archive

Re: [Question #132474]: SMTP Error: Could not authenticate.

 

Question #132474 on Mahara changed:
https://answers.launchpad.net/mahara/+question/132474

    Status: Open => Answered

Ruslan Kabalin proposed the following answer:
The bug has been fixed on master and will likely be populated to other
versions soon.

In order to use gmail smtp server, in addition to the settings you use,
you have to define secure connection protocol:

You may use either:
   $cfg->smtpsecure = 'ssl';
   $cfg->smtpport = 465;
or
   $cfg->smtpsecure = 'tls';
   $cfg->smtpport = 587;

-- 
You received this question notification because you are a member of
Mahara Contributors, which is an answer contact for Mahara.