From 35389fdc1962e3b7da448000822684461bb6f9ae Mon Sep 17 00:00:00 2001 From: Lorenzo De Francesco Date: Wed, 14 Aug 2024 11:55:41 +0200 Subject: [PATCH] Added office 365 email configuration --- docs/src/main/asciidoc/mailer-reference.adoc | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/src/main/asciidoc/mailer-reference.adoc b/docs/src/main/asciidoc/mailer-reference.adoc index baf7175894a2d..d433c79e63116 100644 --- a/docs/src/main/asciidoc/mailer-reference.adoc +++ b/docs/src/main/asciidoc/mailer-reference.adoc @@ -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 +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