You need to sign in to do that
Don't have an account?
sufyan p k
issue in email to lead
i wrote an apex class and created emailservices but it is only working when i send the email to the very long salesforce generated email address and lead is generating but i need to generate lead when i give small address like abc@gmail.com is this possible?
Follow the below steps to Verify the Email Service Address:
1. In you email service class include the following line:
System.debug(email);
2. Before you send the verification email open developer console to capture the debug log.
3. Now click the verify button or resend email in Forwarding and POP/IMAP settings.
4. Now go to developer console and you will see the log where you can find the verification code.
If it helps mark it as best answer!!!
Thanks,
Maharajan.C
All Answers
You can use the sepeare email id for this. Just you need to forward the emails to salesforce generated email address. But use some filters to narrowdown the emails. Don't forward all the emails to Salesforce. You have to configure this in your Gmail/ Outlook / yahoo forward emails settings.
In your abc@gmail.com email account add the salesforce generated email address in Forwarding and POP/IMAP.
It's same like Email-to-Case setup.
https://help.salesforce.com/articleView?id=000328923&type=1&mode=1
Thanks,
Maharajan.C
thanking for your reply its working fine ,but the problem is it is asking for the verification code that send to the address created by salesforce where can i get the code?
thanks
sufyan
Follow the below steps to Verify the Email Service Address:
1. In you email service class include the following line:
System.debug(email);
2. Before you send the verification email open developer console to capture the debug log.
3. Now click the verify button or resend email in Forwarding and POP/IMAP settings.
4. Now go to developer console and you will see the log where you can find the verification code.
If it helps mark it as best answer!!!
Thanks,
Maharajan.C
the system works fine thanks for your support :)