You need to sign in to do that
Don't have an account?

setSenderDisplayName isn't working during a mass email send
Hello,
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?
Thanks,
Craig
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.