function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sachin Agarwal 9Sachin Agarwal 9 

Email to Case attachment size limit problem

Hi everyone,

As per the business requirement, customer should be able to attach up to 10MB of file while sending an email and it should get attached with the newly created case in Salesforce as an attachment. As per my knowledge currently salesforce file size limit for email attachments is 5MB per attachment up to 25MB total. I have been digging on internet but I could find at places that we can send an attachment of more than 5MB also.
If I want to attach a single file to an email, can you please confirm what max size it can be of?
Also, If we can't send a single file of size more than 5MB, what are the workarounds?
Thanks!
NagaNaga (Salesforce Developers) 
Hi Sachin,

The default maximum size for an attachment in Salesforce is 5MB, but you can contact Salesforce Support to have this increased. If you are using the standard version of Email-to-Case, the maximum size will be the same as your Salesforce attachment limit (minus any text in the email). 

If using the new On-Demand Email-to-Case feature, the maximum size of an email is 10MB, which includes the text and attachments on a single email and is not configurable by Salesforce. You can search the online help for "attachment size limit" to see additional information.

Best Regards
Naga Kiran
 
Kumar SauravKumar Saurav
Hi Sachin,

There is a limit from salesforce side for sending large size attachement.. Email services reject email messages and notify the sender if the email (combined body text, body HTML, and attachments) exceeds approximately 10 MB (varies depending on language and character set). In case you are looking for a larger file attachment you can contact salesforce or go for 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
Godson GnanarajGodson Gnanaraj
Hi Sachin,

There is no limit for attachments in email-to-case. In case of on-demand email-to-case,attachment should be under 25MB.
Thanks,
Godson