Skip to content

Commit

Permalink
Added office 365 email configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Lory1990 authored and gastaldi committed Aug 19, 2024
1 parent 6fd31bf commit 35389fd
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<YOUREMAIL@YOURDOMAIN.COM>
quarkus.mailer.host=smtp.office365.com
quarkus.mailer.port=587
quarkus.mailer.username=YOUREMAIL@YOURDOMAIN.COM
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

Check warning on line 699 in docs/src/main/asciidoc/mailer-reference.adoc

View workflow job for this annotation

GitHub Actions / Linting with Vale

[vale] reported by reviewdog 🐶 [Quarkus.Headings] Use sentence-style capitalization in 'Mailer Configuration Reference'. Raw Output: {"message": "[Quarkus.Headings] Use sentence-style capitalization in 'Mailer Configuration Reference'.", "location": {"path": "docs/src/main/asciidoc/mailer-reference.adoc", "range": {"start": {"line": 699, "column": 4}}}, "severity": "INFO"}
Expand Down

0 comments on commit 35389fd

Please sign in to comment.