wokp8w
Last Updated: February 25, 2016
·
657
· sheerun

Don't use localhost as SMTP server

Use 127.0.0.1 as it for sure won't cause emails to be not delivered (it was my case for development environment of Rails 2.3 app).

config.action_mailer.smtp_settings = {
  :address => "127.0.0.1", 
  :port => 1025 
}

Bonuses: