Hello, I am using ActionMailer and rails 3.0.9 and I want to add a
content
to an email that the user has entered but when I write:
mail(…,:body=>“Something”) I can’t send the email. I tried mail(…)
do
|format|
format.html {render :template=>‘some’}
end
but that didn’t changed the content of the email. Can someone help me?
Thanks in advance
I was wrong. I don’t know what I have done wrong when I tried
:body=>“some”
the first time but now it worked! JavierQQ thank you for the quick
response
: )
08 2012, , 20:43:25 UTC+3, Tsvetelina B. :
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.