+ Start a Discussion
JO_DevJO_Dev 

Messaging.EmailFileAttachment and List<Messaging.Emailfileattachment> size

Is there a way to find out the size of the Messaging.EmailFileAttachment?

I also need to know the combined size of a List<Messaging.Emailfileattachment> fileAttachments = new List<Messaging.Emailfileattachment>();

 
Vasani ParthVasani Parth
J00520 :

There is a limit from salesforce side for sending large size attachement.Keep the size of the attachments lower than 2mb. You can overcome this limit by using 3rd party storage server for storing the file content as well as sending them over the email with large size attachment.

Cloud Drop is One such App that is some what following the same logic in order to store any number and size of files that can be associated with any salesforce object with Rackspace server.It also allow user to send very large size file as email attachment to particular contact/lead record.
Please check the following link for more information:
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IzEDEA0

Please mark this as the best answer if this helps