mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Update notify.smtp.markdown
This commit is contained in:
parent
e3a51b49a0
commit
20d259dfc6
@ -25,7 +25,7 @@ notify:
|
|||||||
server: MAIL_SERVER
|
server: MAIL_SERVER
|
||||||
port: YOUR_SMTP_PORT
|
port: YOUR_SMTP_PORT
|
||||||
sender: SENDER_EMAIL_ADDRESS
|
sender: SENDER_EMAIL_ADDRESS
|
||||||
starttls: 1 or 0
|
starttls: true or false
|
||||||
username: YOUR_SMTP_USERNAME
|
username: YOUR_SMTP_USERNAME
|
||||||
password: YOUR_SMTP_PASSWORD
|
password: YOUR_SMTP_PASSWORD
|
||||||
recipient: YOUR_RECIPIENT
|
recipient: YOUR_RECIPIENT
|
||||||
@ -40,7 +40,8 @@ Configuration variables:
|
|||||||
- **username** (*Optional*): Username for the SMTP account.
|
- **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.
|
- **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.
|
- **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:
|
To use the SMTP notification, refer to it in an automation or script like in this example:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user