Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
4 Posts
How to email.

I am currently creating a new RoR application and was wondering if its possible for a user to contact me via email within the site, basically, it should have a name, email address and message field that the user fills in and the message automatically gets sent to my email address.

Thanks in advance.

Hi Matt,

You could try this post, which indicates how to configure and send emails with Rails: http://guides.rubyonrails.org/action_mailer_basics.html

that, together with a simple web form to collect the data, could be a simple solution for sending emails.

I hope you find it useful.

regards

Person
Forum Rating: 100
Sign In To Rate Post

currently i am also busy with this task and i have followed your link and yes this is working :D thanks

Person
Forum Rating: 100
Sign In To Rate Post

Other option is the Ryan Bates screencasts, below are some that can help you:

http://railscasts.com/episodes/61-sending-email-revised

http://railscasts.com/episodes/312-sending-html-email

4 Posts
Login to add your message