Salesforce email relay to Office 365

Posted on 2016-08-25
Last Modified: 2016-09-24
I am hoping to get this setup without having to setup an internal IIS SMTP server.  Does anyone know the procedure for getting this setup correctly?

Currently when sending email from salesforce it is sent on behalf of the user.  All users have Office 365 mailbox.  I have configured a connector in Office 365 which allows it to work when sending email to company users but when sending to external it fails.
Question by:Minot
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 16

Expert Comment

ID: 41770403
In your office 365 admin center you have to create CONTACTS for your external users with their email addresses.  Once done you will be able to send to those contacts.

Author Comment

ID: 41781684
Is there any other way besides creating contacts?  We are talking potentially thousands of contacts.  Thanks
LVL 16

Expert Comment

ID: 41781698
Did you test with one external email set up as a contact in O365 to verify if that worked? You can do a bulk import of the contacts into o365 with powershell and a .csv file.
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

LVL 16

Expert Comment

ID: 41781702

Accepted Solution

Minot earned 0 total points
ID: 41805450
Not sure what fixed this.  I had originally followed these instructions and it did not work for external users.  I went back a few weeks later and re-enabled relay without changing anything else and it worked.  So the below link may be correct.  Thanks for the help.

Author Closing Comment

ID: 41813569
The link provided was the answer.

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In-place Upgrading Dirsync to Azure AD Connect
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a previous video Micro Tutorial here at Experts Exchange (, I explained how to get a free, one-month trial of Office …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question