+ Start a Discussion
Mac SwiftMac Swift 

Email to lead

Hi Folks,

Please help I want to create the inbound email services through which the lead will be generated once the email is recieved. The issue is how to fetch the information from the email body which is sent by the different user. For example the name of the Lead is hiding in the email body.

Please help me to write the code to extract the info from the email body.
prabhakaran Chockalingam 5prabhakaran Chockalingam 5
Hi,

Please refer the following link,
https://developer.salesforce.com/forums/?id=906F0000000AgP0IAK
which is based on the email body in a specific format.

In case if you need more info, please let me know with your email body format.

Thanks,
Prabha
Mac SwiftMac Swift
Hi Prabha,

Thank you for the response! But the code is not working for me. As we have different email formats and each time the wrong information is fetched into the fields.
 
prabhakaran Chockalingam 5prabhakaran Chockalingam 5
Could you post your Email Format. Let's see if there can be a workaround to format it.
Mac SwiftMac Swift
User-added image
Mac SwiftMac Swift
Hi Prabha,

Please help me to solve this issue with your expert advice.
prabhakaran Chockalingam 5prabhakaran Chockalingam 5
Hi Mac,
I will try this weekend. I am sure you would have come across this link,
https://developer.salesforce.com/forums/?id=906F0000000934IIAQ.

What we need to implement this can be derived out from that link.
Mac SwiftMac Swift
Hi Prabha,

No Luck till now. Need your expert advice. :(