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
Mahesh MMahesh M 

Can any one help me how to use a apex component in email services

 when i received a mail from any user the record should be created in lead object for this scenerio i used email services. after inserting the record in lead object the same person has to receive an email about record details (lastname,company,email,phone) . for this scenerio i am unable to use apex component 


If you want to notify the user regarding the inserted record, then you can use message property of InboundEmailResult class and then return. There is no need to use apex:component for this. If you still want to use the apex:component then you will have to place this component in visualforce email template.