Skip to content

Commit

Permalink
Merge pull request #42082 from cescoffier/mailer-start-tls-note
Browse files Browse the repository at this point in the history
Add an important note about the START_TLS configuration requiring tls set to false
  • Loading branch information
gsmet authored Jul 23, 2024
2 parents a4e611a + 48d1642 commit 84caf55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/mailer-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ quarkus.mailer.start-tls=REQUIRED
quarkus.mailer.trust-all=true
----

IMPORTANT: To use `START_TLS`, make sure you set `tls` to `false` and `start-tls` to `REQUIRED` or `OPTIONAL`.

=== Configuring SSL/TLS

To establish a TLS connection, you need to configure a _named_ configuration using the xref:./tls-registry-reference.adoc[TLS registry]:
Expand Down

0 comments on commit 84caf55

Please sign in to comment.