in Rails, Ruby, Snippet

Using SMTP relay via Office365 in Rails apps

First you’ll need to add your production box IP address to Exchange Connector

Example URL:

Then add the following to application production.rb

and boom! your Rails app will start sending emails through Office 365.

Write a Comment