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
KT@CiscoKT@Cisco 

Email2Case - Max size of attachments supported by Salesforce.com

I am currently using Email2Case client and understand that the max. attachment size can be configured for this client in the sfdcConfig.txt that accompanies this Email2Case client.

 

However, when I attempted to send an email beyond 4.5 to 5 MB with the sfdcConfig.txt max. attachment size value set to 10MB, the email was sent to the ERROR folder.

 

I want to know what is the maximum attachment size that can be processed (without getting sent to ERROR folder) and stored in SalesForce.com for:

(a) a given case.

(b) an individual email for a given case.

 

If there are separate limitations for Email2Case and Salesforce.com, I would like to know them both.

 

An early response would be appreciated as we have to make decisions about whether or not to continue with SF.com for further evaluation.

MarkSilberMarkSilber

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.

KT@CiscoKT@Cisco

I already tried to control the attachment size limit by configuring sfdcConfig.txt that comes with Email2Case agent. Below are my findings:

(1) If largeAttachmentSize is set to 5MB, any email (along with attachment) less than 5 MB manages to go through just fine to SFDC. Any email having attachment larger than 5 MB gets dumped in the largeAttachmentsFolder configured in sfdcConfig.txt on the machine where Email2Case is running.

(2) If largeAttachmentSize is set to anything greater than 5 MB (example 10 MB), all emails having attachments less than 10 MB get sent to the ERROR folder. Not sure why this behavior is seen.

(3) If largeAttachmentSize is set to 10 MB, all emails having attachment size greater than 10 MB get dumped locally in the largeAttachmentFolder on the machine running Email2Case, however, any email with attachment less than 10 MB (same behavior as point 2 above) gets dumped in the ERROR folder. The same behavior is seen when largeAttachmentSize is to 11 MB. Anything less than 11 MB gets dumped to ERROR folder whereas anything above 11 MB gets dumped to largeAttachmentFolder.

(4) If largeAttachmentSize is set to anything beyond 11.5 MB, all emails, regardless of the attachment size get dumped to the ERROR folder with an error which reads "Exceeded max. data size configured".

 

Not sure what is going wrong with Email2Case agent.

 

While I will search more on the On-demand Email2Case, can you pls. help me identify where such a feature is available in the interest of time for my evaluation of SFDC?

 

Thanks in advance.

MarkSilberMarkSilber

The new On-Demand Email-to-Case feature was introduced in the recent Spring 09 release. It allows you to redirect messages directly to one or more Salesforce generated email addresses and the on-demand email agent will process the messages. This means you don't need the local Email Agents to be running -- you only need to setup rules on your mailboxes to redirect messages.

 

As for the limits, can you include your  sfdcconfig.txt (minus any passwords) so I can see the settings for file sizes.

 

We have been using Email2Case for 2 years now (monitoring 10 mailboxes), and typically process over a 1000 messages per day with very few issues.

KT@CiscoKT@Cisco

Thanks for the prompt response. Below is my sfdcConfig.txt (minus username/pwd/etc)

 

<configFile>
    <sfdcLogin>
        <url>https://www.salesforce.com/services/Soap/u/7.0</url>
        <userName>USER_NAME_HERE</userName>
        <password>TOKEN_FOR_PWD</password>
        <loginRefresh>30</loginRefresh>
        <timeout>600</timeout>
    </sfdcLogin>
    <notify>
     <notifyEmail>NOTIFICATION_ADDR_HERE</notifyEmail>
        <from>SENDER_ADDRESS_HERE</from>
        <host>SMTP_HOST_NAME</host>
  <port>25</port>
        <user>MY_USER</user>
        <password>MY_PASSWD</password>
        <service>com.sforce.mail.SMTPNotification</service>
    </notify>
    <attachments>
        <largeAttachmentDirectory>\\komal-rnd\SF\</largeAttachmentDirectory>
        <largeAttachmentURLPrefix>\\komal-rnd\SF\</largeAttachmentURLPrefix>
        <largeAttachmentSize>5.0</largeAttachmentSize>
    </attachments>
    <services>
        <com.sforce.mail.EmailService>C:\\EmailAgent\\email2case.txt</com.sforce.mail.EmailService>
    </services>
</configFile>

MarkSilberMarkSilber

Sorry for the delayed response. The size should be specified as follows in the sfdcconfig.txt file - .5 represents 5MB (I don't know why ... it just is). So in your sfdcconfig.txt file, it is really indicating a 50MB file, which could be the source of your problem.

 

 <largeAttachmentSize>0.5</largeAttachmentSize>

 

Maybe werewolf can jump in here and offer some additional advice -- he also has a ton of experience with E2C.

MarkSilberMarkSilber

Here's a link to more information about the new On-Demand Email-to-Case feature:

 

On-Demand Email-to_Case

 

KT@CiscoKT@Cisco

I don't think that is accurate.

 

I just changed the setting to 1.5 in sfdcConfig.txt which, according to your logic, would represent 15 MB and then I sent an email with 11.1 MB attachment.

 

Upon processing, the E2C agent stripped of this attachment stating that it is a large attachment and moved it to the local folder.

 

I conclude that a setting of 1.5 would mean any email having attachment > 1.5 MB would be stripped off the attachment. Which brings me back to my original issue of what the max. size for attachment is in E2C agent.

 

Werewolf's advice is awaited :-)

Kumar Saurav 10Kumar Saurav 10
“Hi KT@Cisco,

Are you still Looking for large file Storage in Salesforce..?
We got a solution for you…!

Here you may be interested in knowing about appexchange native app Cloud Drop which is having this feature.

For more details check:

http://www.clouddrop.io

Check Out the following URL for application:

https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IzEDEA0

Regards
Kumar Saurav”