Displaying 3 results from an estimated 3 matches for "email_body".
Did you mean:
mail_body
2008 Oct 25
7
Routing of result not clear in ActionMailer
...arams, sent_at = Time.now)
@recipients = "webmaster-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org"
@from = email_params[:name] + " <" + email_params[:address] +
">"
@subject = email_params[:subject]
@sent_on = sent_at
@body["email_body"] = email_params[:body]
@body["email_name"] = email_params[:name]
end
end
and I send from within a form
<%= form_tag :action=> "send_mail", :controller=> "emailer" %>
... some details deleted here ...
<input type="submit&quo...
2006 Jun 22
1
error messaging for a form without ActiveRecord model
I have a form that has no ActiveRecord model behind it, it is just
composed of random fields like "email_address", "email_body", etc.
Even though there is no model, some of these fields are required, and I
would like to use the built-in Rails methods for automatically showing
errors in the form. Unfortunataely, I can only see how to do this if
the form is based on an object whose model extends ActiveRecord. Wh...
2006 Jul 19
7
Email Form for Contact Page
Can anyone point me to or provide me with code or a tutorial (preferably
a tutorial) for creating simple contact forms where the data is sent
over email to a specific email address. I have search all over the
internet and there doesn''t see to be anything anywhere.
Thanks In Advance,
Alex.
--
Posted via http://www.ruby-forum.com/.