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
JesseRCJesseRC 

Change from/sender email address when sending email message.

Is there a way to change the from email/sender address when sending a email message via apex or any method? I know you can change the sender name. We are sending out survey emails generated via apex and triggered by a agetns actions. But instead of coming from the agent we want the email to come from the manager. It looks weird to change the sender name to the managers name but still have the sender email as the agents.

 

Thanks,

Jesse