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
mike1.3910160257587908E12mike1.3910160257587908E12 

Email To Opportunity

I am trying to forward a specific email address to my Salesforce org which will create an opportunity on the same account everytime.

I have tried an app (Vertiba), but was unable to get it to work.

I basically need to replicate the exisiting email to case functionality, but make it email to opportunity. 

Has anyone written an apex class for this? Or found an easier work around? 
Karan Khanna 6Karan Khanna 6
Create inbound email service handler in salesforce to handle incoming mails . here you can find sample code:

https://developer.salesforce.com/page/An_Introduction_To_Email_Services_on_Force.com


I belive it will serve your purpose.
MagulanDuraipandianMagulanDuraipandian
Check this

http://www.infallibletechie.com/2012/12/inbound-email-creating-record-using.html

If this solves your problem, kindly mark it as the best answer.
Hit Like, if it saved your work :-)

Regards,
Magulan
http://www.infallibletechie.com