For Exchange server, you need to follow the steps found in that mentioned blog.
By default, Exchange server uses his own authentication protocol kerberos, not plain text… so you need to use :ntlm, not :login on authentication. You still can change this, but need to change the entire Exchange Server configuration, check with your Exchange Server administrator…
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: "[mail.example.com](http://mail.example.com/) ",
port: 110, #I'm not sure if the port need to be 25 or 110... it depends of which port your Exchange listens, usually 25, but there are strong recommendations to use 110, letting port 25 free for smtp communication between smtp servers only.
domain: "[my.domainame.com](http://my.domainame.com/) ",
authentication: :**ntlm** ,
enable_starttls_auto: true,
user_name: "my_username",
password: "my_password"
}