Skip to content

Commit

Permalink
Merge pull request #5427 from akochnev/mailer-doc-fix
Browse files Browse the repository at this point in the history
Updated mailer docs with option for google password auth , issue #4510
  • Loading branch information
machi1990 authored Nov 14, 2019
2 parents d6d749e + 1ed3c3a commit 55847c0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/src/main/asciidoc/mailer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ With TLS:

[source]
----
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN
[email protected]
quarkus.mailer.host=smtp.gmail.com
quarkus.mailer.port=587
Expand All @@ -245,7 +246,8 @@ quarkus.mailer.password=YOURGENERATEDAPPLICATIONPASSWORD
Or with SSL:

[source]
----
----
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN
[email protected]
quarkus.mailer.host=smtp.gmail.com
quarkus.mailer.port=465
Expand All @@ -254,6 +256,12 @@ [email protected]
quarkus.mailer.password=YOURGENERATEDAPPLICATIONPASSWORD
----

[NOTE]
====
The `quarkus.mailer.auth-methods` configuration option is needed for the Quarkus mailer to support password authentication with Gmail.
By default both the mailer and Gmail default to `XOAUTH2` which requires registering an application, getting tokens, etc.
====

== Using SSL with native executables

Note that if you enable SSL for the mailer and you want to build a native executable, you will need to enable the SSL support.
Expand Down

0 comments on commit 55847c0

Please sign in to comment.