Salesforce SMTP Relay with Office 365

What is the best way to send emails from salesforce so that it looks like the email has come directly from my email address and not on behalf of…

We use office 365 for our email service.

I have enabled SMTP relay on salesforce.
Capture 1Capture 2

Do i need to add all the salesforce IP addresses as an SPF entry for our domain?

How should i setup the connector in Office 365? (step by step instructions would be helpful)

Which IP addresses should i whitelist from this list ( ?


It is possible to use Office 365 as your Email Relay server. Microsoft has enabled a partner connector and whitelisted all salesforce IP addresses.

You have to set the following settings

Email Host:
Port 25
TLS Setting Preferred

You setup a partner connector as described here:

Source : Link , Question Author : jarge , Answer Author : Community

Leave a Comment