mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update smtp.markdown (#33312)
This commit is contained in:
parent
26cc211383
commit
f607cc4df2
@ -105,7 +105,7 @@ A notify integration will be created using the name without spaces. In the above
|
||||
mode: single
|
||||
```
|
||||
|
||||
The optional `target` field is used to specify recipient(s) for this specific service call. When `target` field is not used, this message will be sent to default recipient(s), in this example, morning@example.com.
|
||||
The optional `target` field is used to specify recipient(s) for this specific service call. When `target` field is not used, this message will be sent to default recipient(s), specified in the `recipient` part of the smtp notifier in `configuration.yaml`. Line breaks can be added in the body part of the email by using `\r\n`, for instance `message: "Rise and shine\r\n\r\nIt's a brand new day!"`
|
||||
|
||||
Another example attaching images stored locally in a script:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user