-
Is there a way for the mentioned requirement in salesforce?
Is there a way in Apex to send an email and replace the default from email address (no-reply@salesforce.com)?
Log In to reply.
Activity › Forums › Salesforce® Discussions › Is there a way for the mentioned requirement in salesforce?
Is there a way in Apex to send an email and replace the default from email address (no-reply@salesforce.com)?
Hi Laveena,
Yes, there is a way in Apex to send an email and replace the default from email address (no-reply@salesforce.com) using either the setSenderDisplayName or setOrgWideEmailAddressID methods on the SingleEmailMessage or MassEmailMessage classes.
Thanks.
Log In to reply.