You need to sign in to do that
Don't have an account?

EMAIL_TO_CASE_LIMIT_EXCEEDED - ???
Any idea why I might be getting the EMAIL_TO_CASE_LIMIT_EXCEEDED. According to the documentation, the limit is 2500 email cases per day. I appear to be getting this exception with email batches as small as 20. We never create more than 100 email to cases per day.
Any suggestions???
Any suggestions???
Or is this a custom email2case agent in .NET?
I can't imagine why you would get this, perhaps you are posting multiple times.
Are you seeing 1000s of cases in Salesforce.com?
Mark Abramowitz
Product Manager
I built a custom .NET EmailToCaseAgent process. I managed to get around this Exception by using a loop that calls the API for each email to be converted (SEE BELOW).
When I had all 20 emails in the array it would generate the exception, but it is working fine when I can handleEmailMessage in a loop with only one record in the array. Interesting...
...
// Add EMAIL to sfCaseRecords array
sfCaseRecords[i] = sforceEmail;
// *****
// * Call Salesforce API for EmailToCase
// * - LOOP TO PREVENT -> EMAIL_TO_CASE_LIMIT_EXCEEDED EXCEPTION
// *****
for (int sf=0; sf < sfCaseRecords.Length; sf++)
{
HandledEmailMessage[] sfCaseRecord = new HandledEmailMessage[1];
sfCaseRecord[0] = sfCaseRecords[sf];
try
{
SaveResult[] results = this.binding.handleEmailMessage(sfCaseRecord);
etc...
}
}
I must have missed that restriction in the documentation. At least that clears up the mystery!