I am setting up a mailer in my project and I am having difficulties sending mail through Exchange SMTP server.
I have installed the gem ruby-ntlm
but I am s
This is because you haven't included the ntlm
library.
Add the NTLM SMTP library to your config/environment.rb
file
# Load the Rails application.
require File.expand_path('../application', __FILE__)
require 'ntlm/smtp' # ADD THIS LINE HERE
# Initialize the Rails application.
Rails.application.initialize!