Displaying 3 results from an estimated 3 matches for "email_nam".
Did you mean:
email_name
2005 Dec 20
0
Using Aggregations in HTML forms?
...esults to the original object, instead you need to pick
apart some of the results, turn those into a new object and assign them
specifically to the correct fields? Are there some common idioms which
are useful here?
Is there a better way to do this? Seems to me that I might just create
attrs email_name and email_name= and then I can connect them directly to
the field in the form? Is this a bad idea?
Ed W
2008 Oct 25
7
Routing of result not clear in ActionMailer
...ster-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" value="Send" class="primary" />...
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/.