Skip to content

Commit

Permalink
Merge pull request #42539 from Lory1990/patch-1
Browse files Browse the repository at this point in the history
Added office 365 email configuration
  • Loading branch information
gastaldi authored Aug 19, 2024
2 parents c4e2379 + 35389fd commit 9f39e64
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/src/main/asciidoc/mailer-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f39e64

Please sign in to comment.