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' }
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
How much mail do you anticipate sending? If it’s on the low end, perhaps a lightweight client like <a href=“https://www.digitalocean.com/community/questions/wordpress-email-notifications”>exim4</a> would work?
I recommend using a service such as Mandrill to send mail as it’s better than setting up your own mailserver. <br> <br>You can also install postfix and it should work fine.
I’ll try mandrill, after setting up postfix and SPF all emails go to spam… so it’s not very reliable. Thank you.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.