-
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.
Updated mailer docs with option for google password auth , issue #4510
By default, the vertx mail client and google both default to XOAUTH2 and that method needs to be disabled in order for password authentication (with app passwords to work) Addresses issue #4510
- Loading branch information
Showing
1 changed file
with
5 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,8 @@ [email protected] | |
quarkus.mailer.password=YOURGENERATEDAPPLICATIONPASSWORD | ||
---- | ||
|
||
Note: the `quarkus.mailer.auth-methods` configuration option is needed for the quarkus mailer to support password auth with google. By default both the mailer and google 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. | ||
|