Displaying 2 results from an estimated 2 matches for "deliver_contact_us".
2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
...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:
<very simple html template>
./s...
2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
...9;'lsls'' }]
group.users.each {|a|
emails << a.email
names << a.name
}
groups.each { |group |
grouptitle << group.title
}
groups.each { |group|
group.pages.each {|page|
pages << page.body
}}
}
Mailer.deliver_contact_us(
:recipients => emails,
:subject => grouptitle, #the error comes from this line
:body => { :name => names,
:phone => ''08-9492332'',
:email => emails,
:message => pages,
},
:fro...