Question
Rails and SMTP on ubuntu 12.04 x64
Running Rails 4 wih passenger, when attempt to send email it crashes with Completed 500 Internal Server Error (in the log).
Do I need to set up Postfix in order to send emails from the app?
My prduction SMTP settings
`config.action_mailer.default_url_options = {:host => domain.com'}
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => 'domain.com'
}`
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×