+ Start a Discussion

How to deploy Email Services to Production

We are using Email Services to create Email To Lead. As it is working fine in Sandbox,now we are trying to deploy the same in Production.
But not sure what procedure I need to follow.
How should I implement the Test Coverage? Do I need to write some code which sends an email, not sure if this will use the Class which i'm using for Email Services and also not sure which email Id to use.
Can any one share me the script implementing the test coverage.
Any pointers on this, will be of great help.
Thanks in Advance
Rasmus MenckeRasmus Mencke
You will have to write test methods that cover at least 75% of your code, the more coverage the better. No need to send an actual email, just need to ensure your test method touches enough areas of your code.

Here is a couple of examples of how you can write test methods for email services