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
hsthierryhsthierry 

Email to create a Lead (Email Service)

Hello,

 

i have created an apex class and a email service to be able to create lead by sending  an mail and managed to make it works some weeks, however its now no longer working, i think  a security setting or configuration for the org was changed.

 

If i recreate the same apex class and email service in a developer org, it works fines.

 

Can you please suggest any security setting or configuration that is preventing that email service to run properly?

 

Thanks

Sonam_SFDCSonam_SFDC

Hi,  

 

Check if you have created an validation rules on production which might be stopping the creation of leads..

Try setting up the debug logs for the default lead creator and check if you see any errors.