We are having deliveribility issues with email sent from SF. They are all internal notifications from our SF org to our company email.

We use Office 365, user has white listed domain and sender, I have had our IT company white list SF domain and have had them change our SPF records to give SF authority to send on our behalf. The content is very in-offensive.

But still some users get our internal notifications junked.

Currently the SF notifications are coming though as From: [email protected] sent on behalf of [email protected].

I am aware you can hide the noreply@SF part of the from by ticking or un-ticking the 'Enable Sender ID compliance' setting.

However, I am running out of things to try, I want to force all emails to come from SF with no reference to our company domain or [email protected]. I think this might be triggering some spoofing rules in 365.

Any suggestions on how to do this?

1 Answer 1


First set Organization_Wide Email Address - Organization-Wide Email Addresses

Then use setOrgWideEmailAddressId method of Messaging.SingleEmailMessage in a code where you send an email.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .