add action_mailer.default to production.rb and add local host into environment.rb