Hi,
In my html i use textarea and on submit button i want to place
textarea
content in body of mailer opened using mail_to tag.
how it is possible. I am using the ruby code.
Hi,
In my html i use textarea and on submit button i want to place
textarea
content in body of mailer opened using mail_to tag.
how it is possible. I am using the ruby code.
first off, make sure that the content you want to be in the body is
assigned;
( content_var = “text submitted in texarea” )
and then:
mail_to “email@someplace”, “Mail to someplace”, :body => content_var
which will create a link
neat enough?
btw, generally speaking, there is a cool api for ruby on rails called,
(suprisingly enough) api.rubyonrails.com
i found the above info right here:
hth,
shai
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs