Displaying 1 result from an estimated 1 matches for "sections_controller".
2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
...iler.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 => {
:name => @contact_form.user,
:email => @contact_form.email,
:message => @contact_form.message
},
:from => @contact_form.email
)
app/views/mailer/contact_us.text.html.rhtml:
&...