Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Christian Kroul
Christian Kroul
9,849 Points

Making an Email form work

Hello I am on break so I can't show you the code for the html form, but I do not know how to use ruby to make the Email form work, so if the user clicks the submit button, all the details like the message they sent will actually be sent to my Email. And when I checked there's nothing about Making an email form work with Ruby, or php. If anyone knows I will thank them, because for my website(still im development) I want to make a form so the user can send my information and it will go to my Email. Thank you any help will be grateful thank you.

2 Answers

Raymond Sapida
Raymond Sapida
33,049 Points

Hi there,

I'm not sure if this was what you're looking for, but if you want to send emails from a Ruby on Rails application, you would need to set up Action Mailer in a production server. This link was a great place to start for me.

Other than that, it sounds like you want to set up a contact form in a static website. For that, I like to use formspree since it's easy to set up and its free if you're expecting less than 1000 emails per month.

I hope this was helpful!