You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/notify.smtp.markdown
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ notify:
25
25
server: MAIL_SERVER
26
26
port: YOUR_SMTP_PORT
27
27
sender: SENDER_EMAIL_ADDRESS
28
-
starttls: 1 or 0
28
+
starttls: true or false
29
29
username: YOUR_SMTP_USERNAME
30
30
password: YOUR_SMTP_PASSWORD
31
31
recipient: YOUR_RECIPIENT
@@ -40,7 +40,8 @@ Configuration variables:
40
40
- **username** (*Optional*): Username for the SMTP account.
41
41
- **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.
42
42
- **recipient** (*Required*): Recipient of the notification.
43
-
- **starttls** (*Optional*): Enables STARTTLS, eg. 1 or 0. Defaults to 0.
43
+
- **starttls** (*Optional*): Enables STARTTLS, eg. True or False. Defaults to False.
44
+
- **debug** (*Optional*): Enables Debug, eg. True or False. Defaults to False.
44
45
45
46
To use the SMTP notification, refer to it in an automation or script like in this example:
0 commit comments