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

Ask A Question

Notifications

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 :)

Join the discussion

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

Join 33,665+ 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.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.