1

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: noreply@salesforce.com sent on behalf of user@companydomain.com.

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 user@companydomain.com. I think this might be triggering some spoofing rules in 365.

Any suggestions on how to do this?

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.