SMTP Error: Could not authenticate.
Bug #670683 reported by
leonelvsc
This bug report was converted into a question: question #132474: SMTP Error: Could not authenticate..
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Ruslan Kabalin |
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 = '<email address hidden>';
$cfg->smtppass = '******
any ideas?
Changed in mahara: | |
status: | New → Invalid |
Changed in mahara: | |
status: | Invalid → Confirmed |
assignee: | nobody → Ruslan Kabalin (ruslan-kabalin) |
importance: | Undecided → Low |
Changed in mahara: | |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → In Progress |
milestone: | none → 1.4.0 |
Changed in mahara: | |
importance: | Low → Medium |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
tags: | added: email smtp |
To post a comment you must log in.
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: mail.google. com/support/ bin/answer. py?hl=en- GB&ctx= mail&answer= 75726 lib/phpmailer/ docs/use_ gmail.txt
http://
htdocs/