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

setSenderDisplayName isn't working during a mass email send



I've looked at a bunch of examples that all use the property mail.setSenderDisplayName which is defined as what gets put into the from name on the email.  However, every time I set it in my code the email still says that it is coming from the user who kicks off the trigger.  Is there a setting that I'm missing or a different property I should be using?






For this you need to do some changes please see the following Steps:


Setup->Administratration Setup->Deliverability click on this link.


UnCheck checkbox:

Enable compliance with standard email security mechanisms

Enable Sender ID compliance


Also reply me if solution is suitable to you. Enjoy


Those were already unchecked, but still the same issue.



Hugues RaguetHugues Raguet
Hi, same issue, and the checkbox was also already checked. Anything new about this issue ? (6 years later !)