Update mailgun.markdown (#4560)

* Update mailgun.markdown

* Update mailgun.markdown

* Remove tailing whitespace
This commit is contained in:
boojew 2018-02-02 04:23:55 -05:00 committed by Fabian Affolter
parent c9d67e8cd9
commit d270587129

View File

@ -12,7 +12,7 @@ ha_category: Notifications
ha_release: 0.38
---
The component supports push messages and generates events based on inbound data. To use, add a Route set to Store and Notify with a URL of the following form: `https://<domain>/api/mailgun?api_password=<password>`
The component supports push messages and generates events based on inbound data. To use, add a Route set to Store and Notify with a URL of the following form: `https://<home-assistant-domain>/api/mailgun?api_password=<password>`
To send messages, use the [Mailgun notify platform][notify].
@ -25,11 +25,10 @@ To send messages, use the [Mailgun notify platform][notify].
mailgun:
domain: mg.example.com
api_key: token-XXXXXXXXX
sandbox: False
```
Configuration variables:
- **domain** (*Optional*): This is the domain name to be used when sending out mail. Defaults to the first custom domain you have set up.
- **sandbox** (*Optional*): Whether to use the sandboxed domain for outgoing mail. The `domain` item takes precedence over this. Defaults to `False`.
- **domain** (*Required*): This is the domain name to be used when sending out mail. Defaults to the first custom domain you have set up.
- **api_key** (*Required*): This is the API token that has been generated in your Mailgun account.
- **sandbox** (*Optional*): Whether to use the sandboxed domain for outgoing mail. The `domain` item takes precedence over this. Defaults to `False`.