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
Raghav TRaghav T 

How to retrieve and deploy Email-to-case metadata from workbench?

In this i need to know how to write package.xml.
mukesh guptamukesh gupta
Hi Raghav,


No, it looks like we can't deploy them via changesets and any other tool.

The best you can do is deploy via Force.com migration tool is EmailServicesFunction which contains EmailToCase and EmailToSalesforce very basic settings to enable /disable them. They cant be used to specify individual email-to-case services.
One reason I feel they are not part of metadata api is, we have to manually verify the email address for email-to-case and email -services.

we can't deploy email-to-case because routing address of the Email-to-case in Sandbox and Production different. Better we implement email to case in the production.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh