Dave Powers


210 Experience
2 Lessons Completed
0 Questions Solved


Posted in How to use Action Mailbox in Rails 6 Discussion

I'm curious about testing with Gmail as well. At about 17:03, Chris mentions "using a tool like ngrok to expose your Rails app to the public internet," allowing you to "go to Gmail and send emails to your actual email address, routing them to your local Rails app for testing."

I set up my Rails app to route all emails, and configured ngrok. I tried sending to the the ngrok domain, "test@example.ngrok.io," but the delivery failed. Not sure if this is the right approach, but I wasn't sure how else to use ngrok to send mail to my local app. Any insight is appreciated!

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

© 2024 GoRails, LLC. All rights reserved.