← Back to team overview

mahara-contributors team mailing list archive

[Bug 670683] Re: SMTP Error: Could not authenticate.

 

It is a bug. In order to communicate with smtp.gmail.com, 'SMTPSecure'
parameter in phpmailer has to be set either to 'ssl' (and smtp port set
to 465) or 'tls' (and port set to 587). Currently SMTPSecure is not
configured through mahara configuration file.

Will fix this on master in a moment.

For more information see:
   http://mail.google.com/support/bin/answer.py?hl=en-GB&ctx=mail&answer=75726
   htdocs/lib/phpmailer/docs/use_gmail.txt

-- 
SMTP Error: Could not authenticate.
https://bugs.launchpad.net/bugs/670683
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Confirmed

Bug description:
I set this on my config.php and config-defaults.php on the lib folder file



$cfg->smtphosts = 'smtp.gmail.com';
// If you have specified an smtp server above, and the server requires authentication, 
// enter them here
$cfg->smtpuser = 'leonelvsc@xxxxxxxxx';   
$cfg->smtppass = '**************************';


any ideas?





References