playframework / playframework/play-mailer

Authentication Failure With Gmail in Play-Mailer 6.0.1

Open
#151 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:backlog
Dominant language
Scala
Stars
252
Forks
73
Avg merge
1d 4h
Merged PRs (30d)
19

Description

Authentication fails on TLS or SSL when using smtp.gmail.com:587 (TLS) or smtp.gmail.com:465 (SSL).

To by-pass the failure, I have to enable less secure apps on the corresponding gmail account for it to work. https://www.google.com/settings/security/lesssecureapps

Is it that this version lacks the latest authentication mechanisms that's causing Gmail to see the authentication attempt as "less secure"?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified in the issue. Start by reproducing Play-Mailer 6.0.1 authentication against smtp.gmail.com:587 with TLS and smtp.gmail.com:465 with SSL, then trace the SMTP authentication path; done means Gmail authentication works without enabling less secure apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.