Update notify.smtp.markdown

This commit is contained in:
Pascal Vizeli 2016-08-29 22:32:06 +02:00 committed by GitHub
parent e3a51b49a0
commit 20d259dfc6

View File

@ -25,7 +25,7 @@ notify:
server: MAIL_SERVER
port: YOUR_SMTP_PORT
sender: SENDER_EMAIL_ADDRESS
starttls: 1 or 0
starttls: true or false
username: YOUR_SMTP_USERNAME
password: YOUR_SMTP_PASSWORD
recipient: YOUR_RECIPIENT
@ -40,7 +40,8 @@ Configuration variables:
- **username** (*Optional*): Username for the SMTP account.
- **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.
- **recipient** (*Required*): Recipient of the notification.
- **starttls** (*Optional*): Enables STARTTLS, eg. 1 or 0. Defaults to 0.
- **starttls** (*Optional*): Enables STARTTLS, eg. True or False. Defaults to False.
- **debug** (*Optional*): Enables Debug, eg. True or False. Defaults to False.
To use the SMTP notification, refer to it in an automation or script like in this example: