Skip to content

Commit a94e001

Browse files
authored
Add new conf options (home-assistant#2843)
1 parent 078c37b commit a94e001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_components/notify.smtp.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ Configuration variables:
3232
- **sender** (*Required*): E-mail address of the sender.
3333
- **recipient** (*Required*): E-mail address of the recipient of the notification. This can be a recipient address or a list of addresses for multiple recipients.
3434
- **server** (*Optional*): SMTP server which is used to end the notifications. Defaults to `localhost`.
35-
- **port** (*Optional*): The port that the SMTP server is using. Defaults to 25.
35+
- **port** (*Optional*): The port that the SMTP server is using. Defaults to 465.
3636
- **timeout** (*Optional*): The timeout in seconds that the SMTP server is using. Defaults to 5.
3737
- **username** (*Optional*): Username for the SMTP account.
3838
- **password** (*Optional*): Password for the SMTP server that belongs to the given username. If the password contains a colon it need to be wrapped in apostrophes.
39-
- **starttls** (*Optional*): Enables STARTTLS, eg. True or False. Defaults to False.
39+
- **encryption** (*Optional*): Set mode for encryption, `tls`, `starttls` or `none`. Defaults to `tls`.
4040
- **sender_name** (*Optional*): Sets a custom 'sender name' in the emails headers (*From*: Custom name <example@mail.com>).
4141
- **debug** (*Optional*): Enables Debug, eg. True or False. Defaults to False.
4242

@@ -51,7 +51,7 @@ notify:
5151
port: 587
5252
timeout: 15
5353
sender: john@gmail.com
54-
starttls: true
54+
encryption: starttls
5555
username: john@gmail.com
5656
password: thePassword
5757
recipient:

0 commit comments

Comments
 (0)