mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Add option to increase max message size in imap custom event data (#27425)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
8f749f578a
commit
2144ccaff5
@ -77,7 +77,7 @@ search:
|
||||
folder:
|
||||
description: The IMAP folder configuration
|
||||
text:
|
||||
description: The email body `text` of the the message (only the first 2048 bytes will be available)
|
||||
description: The email body `text` of the message (by default, only the first 2048 bytes will be available)
|
||||
sender:
|
||||
description: The `sender` of the message
|
||||
subject:
|
||||
@ -91,6 +91,14 @@ headers:
|
||||
|
||||
The `event_type` for the custom event should be set to `imap_content`. The configuration below shows how you can use the event data in a template `sensor`.
|
||||
|
||||
If the default maximum message size (2048 bytes) to be used in events is too small for your needs, then this maximum size setting can be increased. You need to have your profile set to _advanced_ mode to do this.
|
||||
|
||||
<div class='note warning'>
|
||||
|
||||
Increasing the default maximum message size (2048 bytes) could have a negative impact on performance as event data is also logged by the `recorder`. If the total event data size exceeds the maximum event size (32168 bytes), the event will be skipped.
|
||||
|
||||
</div>
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user