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
code developercode developer 

How to get Salesforce default email address for approval?


Hi,

We are currently using salesforce standard email approval process.We enabled "Enable Email Approval Response"  checkbox in approval settings.
When a user submits a record for approval, approver will get an email.

Requirement :

We need to capture "Reply to " address of the email which is received by approver.

Can we get the email specified in screen shot  through apex?

Is the mail id specified in below screen shot specific to org or will it change for each approval email?


  User-added image
Ashish_SFDCAshish_SFDC

Hi , 


That is a auto generated email address for the purpose and I do not think it is possible to retrive that. 

See the link below for chatter auto response email. 

https://help.salesforce.com/apex/HTViewHelpDoc?id=collab_email_reply.htm&language=en



Regards,

Ashish