Yes you can do it by using ActionMailer class

On Oct 5, 8:10 pm, Pepe Sanchez <[EMAIL PROTECTED]>
wrote:
> Is there a way to create a contact form that sends an email without
> having a table related to it.
>
> In my case I do not need a table contacts, I only need to send an email.
>
> thanks
> <h2>Contact Form</h2>
>     <form action="contact.html">
>     <fieldset>
>     <legend>Please send your message: </legend>
>     <p><label>Your Name:<br /><input type="text" /></label></p>
>     <p><label>Your email:<br /><input type="email" /></label></p>
>     <p><label>Message:<br /><textarea rows="5"
> cols="5"></textarea></label></p>
>     <p><label><input type="submit" value="Submit" class="submit"
> /></label></p>
> </fieldset>
>     </form>
>
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to