Hi,
There''s a base class for that stuff, ActionMailer :
http://api.rubyonrails.org/classes/ActionMailer/Base.html
You juste have to take the address you got from the form and send an email
following the described procedure. You can even send attachments ^^
If you want further details feel free to ask, but I never had any problem
with this class.
Cyril
2009/7/10 Ghazal Mir
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
>
> hi
> how can i get email address as an input param from user and then send
> email to that address?
> thanks
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---