From 00dbd1918a28393dad811b73ce84524cc969fefc Mon Sep 17 00:00:00 2001 From: Manyanda Chitimbo Date: Mon, 15 Jul 2019 07:43:42 +0200 Subject: [PATCH] docs(mailer): document ssl enablement in native image --- docs/src/main/asciidoc/sending-emails.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/sending-emails.adoc b/docs/src/main/asciidoc/sending-emails.adoc index 38aec36c45a2f..89406f47e1b28 100644 --- a/docs/src/main/asciidoc/sending-emails.adoc +++ b/docs/src/main/asciidoc/sending-emails.adoc @@ -75,7 +75,7 @@ The following table lists the properties that can be configured: | port | Integer | the SMTP server port | `25` | username | String | the username | | password | String | the password | -| ssl | Boolean | Enables or disables SSL | `false` +| ssl | Boolean | Enables or disables SSL. If enabled, you must also link:native-and-ssl-guide.html[set quarkus.ssl.native to true] when building a native image. | `false` | trust-all | Boolean | Set whether to trust all certificates | `false` | max-pool-size | Integer | Configures the maximum number of open connections to the mail server | `10` | own-host-name | String | The hostname to be used for `HELO/EHLO` and the `Message-ID` | @@ -231,9 +231,9 @@ class MailTest { .when() .get("/send-email") .then() - .statusCode(200) + .statusCode(200) .body(is("OK")); - + // verify that it was sent List sent = mailbox.getMessagesSentTo(TO); assertThat(sent).hasSize(1);