+ Start a Discussion
koti mulekoti mule 

How to Set 'From Address' in SingleEmailMessage through Custom Settings??

SaiGSaiG

You can create an Org wide email address instead of custom setting and in your apex code use

Messaging.SingleEmailMessage sMail = new Messaging.SingleEmailMessage();
sMail.setOrgWideEmailAddressId('ORG_WIDE_ADDR_ID');    

Thanks,

Sai

koti mulekoti mule

Thanks sai for ur time..But I am aware of this solution using Org wide Email Address..

We are looking for possible ways through Custom settings..

Thanks,
Koti