Skip to content

Commit

Permalink
docs(mailer): document ssl enablement in native image
Browse files Browse the repository at this point in the history
  • Loading branch information
machi1990 committed Jul 15, 2019
1 parent 08fe2d3 commit 00dbd19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/main/asciidoc/sending-emails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down Expand Up @@ -231,9 +231,9 @@ class MailTest {
.when()
.get("/send-email")
.then()
.statusCode(200)
.statusCode(200)
.body(is("OK"));
// verify that it was sent
List<Mail> sent = mailbox.getMessagesSentTo(TO);
assertThat(sent).hasSize(1);
Expand Down

0 comments on commit 00dbd19

Please sign in to comment.