2015-12-11 09:44:27 +01:00
|
|
|
Use this plugin for sending build status notifications via Email. You can
|
|
|
|
override the default configuration with the following parameters:
|
2015-11-11 02:44:23 +01:00
|
|
|
|
2015-12-11 09:44:27 +01:00
|
|
|
* `from` - Send notifications from this address
|
|
|
|
* `host` - SMTP server host
|
|
|
|
* `port` - SMTP server port, defaults to `587`
|
|
|
|
* `username` - SMTP username
|
|
|
|
* `password` - SMTP password
|
|
|
|
* `recipients` - List of recipients, defaults to commit email
|
2015-11-11 02:44:23 +01:00
|
|
|
|
2015-12-11 09:44:27 +01:00
|
|
|
## Example
|
|
|
|
|
|
|
|
The following is a sample configuration in your .drone.yml file:
|
2015-11-11 02:44:23 +01:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
notify:
|
|
|
|
email:
|
|
|
|
from: noreply@github.com
|
|
|
|
host: smtp.mailgun.org
|
|
|
|
username: octocat
|
|
|
|
password: 12345
|
|
|
|
recipients:
|
|
|
|
- octocat@github.com
|
|
|
|
```
|