Skip to content

Commit 52d72f0

Browse files
authored
Document allowlist_external_dirs for smtp (home-assistant#30130)
1 parent 54c75fb commit 52d72f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/_integrations/smtp.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ The optional `html` field makes a custom text/HTML multi-part message, allowing
113113

114114
The optional `images` field adds image attachments to the email. If `html` is defined, the images need to be added to the message in-line as described above (and as shown in the example below). If `html` is not defined, images will be added as separate attachments.
115115

116+
<div class='note info'>
117+
118+
When adding images, make sure the folders containing the attachments are added to `allowlist_external_dirs`.<br>See: [Setup basic documentation](/docs/configuration/basic/)
119+
120+
</div>
121+
116122
```yaml
117123
burglar:
118124
alias: "Burglar Alarm"

0 commit comments

Comments
 (0)