Adding trusted senders to Office 365

One of the strenghts of Sharepoint is imo the user subscribed email alerts.

Our SharePoint admin created a workflow that produces an email. This email contains some HTML to make it pretty.

Outlook however, by default, blocks the HTML and the receivers end up with an email that’s well… ‘not’ so pretty.

Click here to download pictures. To help protect your privacy, Outlook prevented automatic download of some pictures in this message.

To make sure everyone sees the email in the way the creator intended, the sender should be added to the Safe Sender List. Since we use Office 365 this is no-reply@sharepointonline.com. So either every user should add this address to their Safe Sender list, or somebody has to do it for them.

If you want to do the second option:

First, set up a connection with Exchange online following the instructions here on TechNet.

Next, use the following code. It will check all mailboxes and add (not replace) reply@sharepointonline.com to the trusted sender list.

And you’re done. It’s not a beautiful script, and has no error handling whatsoever, but it does what it needs to.

3 Responses to Adding trusted senders to Office 365

  1.  

    hi thank you for this useful topic, I have a question i hope you can help me. I added alert to some of lists of a site collection. They have worked correctly the sender was the name of the site the list belongs to. I don’t know what happend today the sender has changed to no-reply@sharepointonline.com. How can I change back sender to the site name? Thanks

  2.  

    Pingback Chester

  3.  

    Pingback wayne

leave your comment