0 votes

We are still using the older version of Mail API, in this version we use RenderEml() method to render the eml string, but we encounter Out of Memory exception when the email attachment is large (in my computer is larger than 80M), how we can make use of the RenderEml method in such case? if the latest Render() method optimize the memory usage?

by (200 points)

1 Answer

0 votes

I'm pretty sure that memory usage was optimized since the version you use.

I would say the easiest approach is to download the latest trial and check if it solves your problem:

80MB attachment is quite big for email. Due to how email works - Base64 encoding is used for email attachment encoding - 80MB attachment results in email that is 106MB.

For example, Gmail limits the size of the message users can send to 25MB.
Since March 2017, they allow receiving emails up to 50MB.
Office 365 allows emails up 150MB in size.
Outlook.com allows emails up 40MB in size.

by (282k points)