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
PrasadVRPrasadVR 

How to get gmail verification code while routing emails from gmail to salesforce specified email ?

Hi all ,

 

    I have created email service class and configured in saleforce it generated one domain when I forward mail to that one records were created , however I want to forward my gmail mails to salesforce specified mail so that records will create in slaeforce 

 

I tried to configure this in gmail settings , gmail sends one verification code to the saleforce specified mail , now I need to provide that code to configure settings 

 

My question is how do I get this email so I can access the verification code?

Best Answer chosen by Admin (Salesforce Developers) 
sandeep@Salesforcesandeep@Salesforce

I have high level idea of this so as per my suggestion you can use inbound messaging. whenever you get email automatically one Task will be created or in apex cde you can also read email body from where you can get verification code. Here is detail how to use inbound messaging.

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_inbound.htm