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

Remove context user info in From field for MassEmailMessage
I have a provisioning process that creates users in SF and a trigger sends welcome emails, using mass emailing. The problem is that the 'from' field of the welcome email shows the email address of the technical user of the provisioning process. I saw in the forum a solution : define an organisation wide email address and use the method setOrgWideEmailAddressId. Unfortunatelly, this method does not work with the MassEmailMessage class. I have the same problem with the notification sent by SF to reinitiate the password.
Do you have any idea how to fix this ?
Do you have any idea how to fix this ?