Allow multiple recipients for SMTP notify (#2516)

* Allow multiple recipients for SMTP notify

* Update notify.smtp.markdown

Changed formatting and wording.
This commit is contained in:
Anders Melchiorsen 2017-04-28 16:21:45 +02:00 committed by Fabian Affolter
parent 44defba407
commit 05bfeb3e03

View File

@ -35,7 +35,7 @@ Configuration variables:
- **sender** (*Optional*): E-mail address of the sender.
- **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.
- **recipient** (*Required*): E-mail address of the recipient of the notification. This can be a recpient address or a list of addresses for multiple recipients.
- **starttls** (*Optional*): Enables STARTTLS, eg. True or False. Defaults to False.
- **debug** (*Optional*): Enables Debug, eg. True or False. Defaults to False.
@ -53,7 +53,9 @@ notify:
starttls: true
username: john@gmail.com
password: thePassword
recipient: james@gmail.com
recipient:
- james@gmail.com
- bob@gmail.com
```
Keep in mind that Google has some extra layers of protection which need special attention (Hint: 'Less secure apps').