-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5427 from akochnev/mailer-doc-fix
Updated mailer docs with option for google password auth , issue #4510
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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. | ||
|