Displaying 1 result from an estimated 1 matches for "info_mailer".
2006 Mar 09
1
ActionMailer Question -- can''t find email templates
...as so:
--
<%= form_tag({:action => :send_request}, {:method=>:post,
:name=>''childsplay''})%>
--
In my page controller I have this:
--
def send_request
email = InfoMailer::deliver_sendrequest(params)
end
---
in my action mailer class I have this:
controllers/info_mailer.rb
---
class InfoMailer < ActionMailer::Base
def sendrequest(formparms)
sent_at = Time.now
@to = ''info@illinoisatplay.com''
@cc = ''nola@devasap.com''
@subject = ''Thank you for your request''
@recipients...