Displaying 2 results from an estimated 2 matches for "email_text".
Did you mean:
email_test
2006 Feb 02
1
ordering of params
...orm.
So I have something like:
# View
<%= text_field ''answer'', ''name'' %> Name <br />
<%= text_field ''answer'', ''email'' %> Email <br />
......
# Controller
def form_submit
answers = params[:answers]
email_text = "New form submission receieved"
answers.each do |question, answer|
email_text << "#{ question.humanize }: #{ answer }\n"
end
# send email
end
However, I don''t iterate through the answers in the order that they
were in the form, the answers are retriev...
2008 Nov 30
4
ActionMailer weirdness: bad html '=3d' for all '='
I am getting html output in my email body with spurious characters
that cannot be rendered, so that my links are not handled properly.
What am I not getting here?
My email body contains:
-----------------clip-------------
<A href=mailto:"<%=h(''support-t1rxLZ7CIXjQT0dZR+AlfA@public.gmane.org'')%>?
Support">Support</A><br/>
with any