Skip to content

Conversation

@YuriiRubakha
Copy link

In some use cases attachment data is streamed from external source. Fetching this data into buffers causes additional memory consumption, which may be significant for massive emails sending.
To solve this we propose to stream attachments data directly from readers, as they provided by external interface of package (no external interface change).

Internal structures changed accordingly. Some tests changed also to match the new Attachment struct.

No significant negative impact on performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant