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
Gaurav AgnihotriGaurav Agnihotri 

Email to case and on demand email to case

what is the difference between Email to case and on demand email to case. we have a need where we need to generate cases by any email server. what would be the most recommended approach
Best Answer chosen by Gaurav Agnihotri
Amit Chaudhary 8Amit Chaudhary 8
Email-to-Case
Automatically turn emails from your customers into cases in Salesforce to track and resolve customer cases quickly

Email to Case is a very specific application that allows your customers to send emails that either
a) Open a new Case b) carry on a threaded conversation about a previously-opened Case via email
These Cases can have attachments. Inbound email to case email is automatically inserted into a special Sobject called EmailMessage, used only for email to case. This appears as a related list under Case.
You can then wire in workflows on EmailMessage to enhance your case processing.
A 100% point and click solution

InboundEmailServices is a framework for building any application that can accept emails routed to the email services address. I would not use it for support case business processes as you would have to replicate too much functionality.
Apex and testmethods required

For Difference please check below post
1) http://salesforce.stackexchange.com/questions/49698/differences-between-email-to-case-and-on-demand-email-to-case
2) https://notesbyparth.wordpress.com/2011/09/29/difference-between-on-demand-email-to-case-email-to-case-agent-%E2%80%93-salesforce-com/
3) http://www.infallibletechie.com/2013/06/difference-between-email-to-case-and-on.html
User-added image

Let us know if this will help you
 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Email-to-Case
Automatically turn emails from your customers into cases in Salesforce to track and resolve customer cases quickly

Email to Case is a very specific application that allows your customers to send emails that either
a) Open a new Case b) carry on a threaded conversation about a previously-opened Case via email
These Cases can have attachments. Inbound email to case email is automatically inserted into a special Sobject called EmailMessage, used only for email to case. This appears as a related list under Case.
You can then wire in workflows on EmailMessage to enhance your case processing.
A 100% point and click solution

InboundEmailServices is a framework for building any application that can accept emails routed to the email services address. I would not use it for support case business processes as you would have to replicate too much functionality.
Apex and testmethods required

For Difference please check below post
1) http://salesforce.stackexchange.com/questions/49698/differences-between-email-to-case-and-on-demand-email-to-case
2) https://notesbyparth.wordpress.com/2011/09/29/difference-between-on-demand-email-to-case-email-to-case-agent-%E2%80%93-salesforce-com/
3) http://www.infallibletechie.com/2013/06/difference-between-email-to-case-and-on.html
User-added image

Let us know if this will help you
 
This was selected as the best answer
Gaurav AgnihotriGaurav Agnihotri
Thanks Amit. 
Appreciate your prompt reply
Michael KoraszewskiMichael Koraszewski
Is there any way to run evaluation/gating on incoming emails before piping into standard email2case?
Usecase would be to check email headers, loop prevention etc. 
if pass_evail(incoming_email) : standardEmail2CaseHandler(incoming_email)