OCS Solutions Web Hosting Design and Consulting Web Hosting and Consulting Call Us
OCS Home  |  Wiki Front Page  |  Web Hosting  |  Virtual Dedicated Servers  |  Consulting  |  Support  |  Contact Us

Configuring ActionMailer

From OCS Support Wiki

Jump to: navigation, search

In our experience, it is often best to use the "sendmail" method to send mail via the Ruby on Rails mail component ActionMailer. While you can specify SMTP settings, this often creates an additional level of configuration that can go wrong.

The good news is that Ruby on Rails is configured right out of the box for this method, and you should not have to do anything to get your Ruby on Rails applications to send mail.

If you have changed the setting before, please make sure it is set to:

ActionMailer::Base.delivery_method = :sendmail

You can find this setting in config/environment.rb.

Personal tools