We have a requirement where need to get the cloud attachment and add as an attachment to MailMessage, below is the sample code, but with this we are running into OOM issue. Is there any way to add huge attachments?
Samp…...we have cloud attachment of size 5gb (even for 500mb we get same...preventing memory issues. Increase Java Heap Size : If you must attach...