How to set up Email-to-Case and On-Demand Email-to-Case

In Salesforce, one can efficiently resolve customer inquiries via email. Salesforce automatically creates a case when an email is sent to one of your salesforce organizations. Customer responses regarding a case are automatically associated with original case, including the attachments customer sends. We can set up Email-to-Case or On-Demand Email-to-Case to resolve customer inquiries via email. Organization allows you to select any one of those two.


To implement Email-to-Case, first we should download Email-to-case agent and set it up in your local machine(i.e in network firewall). In this, you can accept email attachments larger than 25 MB from customers.


Click on Setup --> Customize --> Cases --> Email-to-Case 

In the Email-to-Case settings, click on edit and select the settings based on your organization requirement.

Each routing address is an email address that your customer uses to submit cases to the support team. So, select the routing address and click on save.

Emails are automatically converted into cases based on the settings provided in routing address. We can change existing routing addresses with another address by verifying them.

Now you need to download the Email-to-Case Agent and configure it to run against your email server.


The Automated Case User whom you select in Setup --> Customize --> Cases --> Support Settings will receive an error notification every time the Email-to-case agent fails to create a case.

On-Demand Email-to-Case:

It automates the conversion of emails to cases without any Email-to-Case agent installation. Whenever customers send messages to email addresses which you specify, Salesforce creates cases and auto-populates case fields. It doesn't accept the cases which have attachments more than 25 MB size.


Click on Setup --> Customize --> Cases --> Email-to-Case.

Enable and configure On-Demand Email-to-Case and configure routing address settings.

Cases are created based on the settings provided in routing address.

Test the routing mail address by manually sending the emails and see whether they are converted into cases or not.


The Automated Case User whom you select in Setup --> Customize --> Cases --> Support Settings will receive an error notification every time when an On-Demand Email-to-case fails to create a case.

Posted On 19 February 2018 By MicroPyramid

Need any Help in your Project?Let's Talk

Latest Comments
How to set up outbound messaging in salesforce

When you want to send information from Salesforce organization to any third party external service, Outbound messaging is used in Salesforce. It is a part …

Continue Reading...
Packages in salesforce

In the salesforce organization, when you are building a component or application, it's important to know how the component or application should be distributed to …

Continue Reading...
Field Update Workflow in Salesforce

In Salesforce, field update is used to change or update field records. This can be done by a creating field update actions and associating them …

Continue Reading...

Subscribe To our news letter

Subscribe and Stay Updated about our Webinars, news and articles on Django, Python, Machine Learning, Amazon Web Services, DevOps, Salesforce, ReactJS, AngularJS, React Native.
* We don't provide your email contact details to any third parties