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 noreply@salesforce.com 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 (https://help.salesforce.com/apex/HTViewSolution?id=000003652) ?

Answer

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: xyz.mail.protection.outlook.com
Port 25
TLS Setting Preferred

You setup a partner connector as described here: https://technet.microsoft.com/en-us/library/dn751021(v=exchg.150).aspx

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

Leave a Comment