Skip to content

Sending email via gmail SMTP requires to "Allow less secure apps: YES" -> is solution to use PHPMailer? #8613

@mattab

Description

@mattab

This issue is about improving this FAQ: How do I send Piwik emails using Gmail SMTP server?

While setting it up today, I noticed that i was getting an error when sending a scheduled report

An error occured while sending 'HTML Email Report - 2.2015-08-20.101.en.html' to xxxxxxxxxxxxxxx@gmail.com. Error was '5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbucv 5.7.14 -v6FnaqYk_3-5- 5.7.14 UQGVqm7Gvg1qMTL70m9YF2_kcoVxK-eN_d9aPG5hrzzCtiG 5.7.14 5edES-qhoae2YHyGn3bqFQnBQ 5.7.14 8BFlMxvMs_RBCEP62jWESOR-fuYk> Please log in via your web browser and 5.7.14 then try again. 5.7.14 Learn more at 5.7.14 https://support.google.com/mail/answer/78754 cd16sm31949626wib.19 - gsmtp'#0 [internal function]

To resolve this issue I had to go to:

allow less secure apps

Steps

  • what does it mean to be less secure app? could we change our FAQ instructions and/or implementation so that users do not need to do this extra step?
  • if not possible, we should at least document in FAQ that user also need to change the setting on their google security account

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.answeredFor when a question was asked and we referred to forum or answered it.c: Website matomo.orgFor issues related to our matomo.org website.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions