Save 36% for Black Friday! Learn more

All threads / Contact form that sends email directly from the page
Ask A Question


You’re not receiving notifications from this thread.

Contact form that sends email directly from the page

Kyle Williamson asked in Rails

Hello. I'm currently building my web dev portfolio using Rails. I just graduated coding bootcamp and it's all still pretty new, now that I'm doing it on my own. On my contact page, I just want to have a contact form that will email me directly from the form. I'm looking at the mail_form gem on Github. I installed it in my app, but I'm just unsure where to go next. It's not clear where these files are that is showing the code in them. What are the steps I need to take to get this going? I'm not finding any easy step by step guides on doing this. Thank you in advance!

Hi Kyle,

Here are examples that may help you get the form working:

You can also share your code, if you feel comfortable, for additional help.

I found a tutorial actually! Nevermind :)

Hi Kyle, could you send a link for this tutorial, pls ?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 67,819+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.