Loading...
 
Skip to main content

SMTP server sending email option is not working after upgrade (require app password)

Status
Closed
Subject
SMTP server sending email option is not working after upgrade (require app password)
Version
21.x
Category
  • Regression
Feature
Administration
Resolution status
Partially solved
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Marc Laporte
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

After updating a Tiki21 that is using SMTP Google server has sending email option, Google throw an error an email are not sent.

log to catch the previous Git version of a working Tiki
Copy to clipboard
Bernard$ git log commit d002513ebdbe3721cc701dd58a6b47da59233bed (HEAD -> 21.x, origin/21.x) Merge: 34566b8ecf 4a68067e0b Author: Bernard Sfez <me@xxxx.xxx> Date: Sun Mar 22 16:29:39 2020 +0000

The error
Copy to clipboard
Warning Unable to send mail Array ( [0] => 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials e5sm15280421wru.92 - gsmtp )


Image

Solution

It is working again if using Google App password.
It may be a change in Google policy.

You need to have 2 step authentification enabled:
https://support.google.com/accounts/answer/185839

And set your App password for your Tiki:
https://support.google.com/accounts/answer/185833

Importance
3
Easy to solve?
5
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7364
Created
Monday 11 May, 2020 04:54:51 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 11 May, 2020 06:24:40 UTC


Show PHP error messages