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

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:

I belive it will serve your purpose.
Check this

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