Skip to content

GMail sending with 2FA and app password doesn't work #118

@dodalovic

Description

@dodalovic

I have enabled 2FA and I generated app password for my account.
When I supply configuration in mail-sender.zip sample app , I'm getting an error:

➜ java -jar target/mail-sender-1.0.0-SNAPSHOT-fat.jar
HTTP server started on port 8888
Oct 18, 2019 1:24:57 PM io.vertx.core.impl.launcher.commands.VertxIsolatedDeployer
INFO: Succeeded in deploying verticle
mail sending failed! io.vertx.core.impl.NoStackTraceThrowable: AUTH XOAUTH2 failed 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials b19sm2650728wmb.42 - gsmtp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions