-
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 #42539 from Lory1990/patch-1
Added office 365 email configuration
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
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 |
---|---|---|
|
@@ -673,6 +673,27 @@ quarkus.mailer.tls=true | |
quarkus.mailer.mock=false # In dev mode, prevent from using the mock SMTP server | ||
---- | ||
|
||
=== Office 365 | ||
|
||
==== Prerequisites | ||
|
||
1. Enable SMTP Access to your Office 365 mailbox, you can do it from the administration console (see link:https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission[this guide] for more information) | ||
|
||
==== Configuration | ||
|
||
[source, properties] | ||
---- | ||
quarkus.mailer.from=NAME<[email protected]> | ||
quarkus.mailer.host=smtp.office365.com | ||
quarkus.mailer.port=587 | ||
[email protected] | ||
quarkus.mailer.password=YOURPASSWORD | ||
quarkus.mailer.auth-methods=LOGIN | ||
quarkus.mailer.login=REQUIRED | ||
quarkus.mailer.mock=false # In dev mode, prevent from using the mock SMTP server | ||
---- | ||
|
||
|
||
[[configuration-reference]] | ||
== Mailer Configuration Reference | ||
|