Displaying 1 result from an estimated 1 matches for "site_email".
2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
...played (according to logs, 0
length response, with 200 OK code). I googled for hours without any
success. What am I doing wrong? To repeat, the code works perfectly
with Rails 1.0.
Snippets from my code:
app/models/mailer.rb:
def contact_us(options)
recipients options[:recipients] || $site_email
subject options[:subject] || $site_name + '' - Web Site Inquiry''
from options[:from] || $site_email
body options[:body] || {}
end
app/controllers/sections_controller.rb:
Mailer::deliver_contact_us(
:body => {
:...