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
Neha@SfdcNeha@Sfdc 

difference between email-to-case & apex email service

Email-to-case is used to create a case  from the email received and

Apex email service also creates a record in slaesforce through an email

then whats the difference between the two?
Best Answer chosen by Neha@Sfdc
Christoph EschweilerChristoph Eschweiler
Hi,

email-to-case automatically creates a case from the contents of an email (see documentation (https://help.salesforce.com/HTViewHelpDoc?id=customizesupport_email.htm&language=en_US)) without having to set up a lot.

Email services however allow you to write your own Apex code to process incoming email content (docs (https://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_classes_email_inbound_what_is.htm|StartTopic=Content%2Fapex_classes_email_inbound_what_is.htm|SkinName=webhelp)).
This gives you more flexibility but does however require programming.

Let me know if that answers your question.

Best regards,
Christoph, visuallifecycle.net

All Answers

Christoph EschweilerChristoph Eschweiler
Hi,

email-to-case automatically creates a case from the contents of an email (see documentation (https://help.salesforce.com/HTViewHelpDoc?id=customizesupport_email.htm&language=en_US)) without having to set up a lot.

Email services however allow you to write your own Apex code to process incoming email content (docs (https://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_classes_email_inbound_what_is.htm|StartTopic=Content%2Fapex_classes_email_inbound_what_is.htm|SkinName=webhelp)).
This gives you more flexibility but does however require programming.

Let me know if that answers your question.

Best regards,
Christoph, visuallifecycle.net
This was selected as the best answer
Vinit_KumarVinit_Kumar
Email-to-Case is a standard functionality of salesforce in which there are some standard features available,that would insert a case in salesforce.


Apex Email Services 
===============================
1.) If you have some custom requirement.let's say after inserting your case you want to fetch related contact and do some operation on it,then it is not available in Standard Email to Case ,you need to create custom Apex Email service.

2.) Another point to note is that Apex Email service is not related to related to Case only,it can be written on any Standard/Custom objects in which you want to read inbound emails to perform your operation.

Hope this helps !!

If this helps,please mark it as best answer to help others :)