How to get Org Wide Email Address salesforce - Domreysa

Post Top Ad

Post Top Ad

Thursday, June 24, 2021

How to get Org Wide Email Address salesforce

OrgWideEmailAddress[] owea = [select Id from OrgWideEmailAddress where Address = 'ab@g.test'];
    if ( owea.size() > 0 ) {
                    mail.setOrgWideEmailAddressId(owea.get(0).Id);
                }




No comments:

Post a Comment

Post Top Ad

Responsive Ads Here