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
Krish NKrish N 

Apex Inbound email class for Lightning

We are currently moving to Field service lightning, we have Apex email services which uses Messaging.InboundEmailHandler instance to auto creates service cases from incoming emails from our customers. I tried creating cases through email in FSL sandbox but it won't create any cases, I don't even see any trace in the debug logs and the surprising part is, when ever I try to create a case, it is actually trying to create cases in our old classic sandbox (based on debug logs). How do I tackle it? 80% of our cases are created currently through through Apex email services.