V
V
Vladislav Sofienko2017-07-31 23:18:50
Ruby on Rails
Vladislav Sofienko, 2017-07-31 23:18:50

How to test sending mail to localhost?

Well, I think that comments are not needed here, except for one. I have windows. Don't offer Linux

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Leonchik, 2017-08-01
@sofvlad

To test templates, there are built-in Rails tools - Previewing Emails , after which viewing views will be available at localhost:3000/rails/mailers
To test sending emails, use gem letter_opener

R
Roman Mirilaczvili, 2017-08-01
@2ord

I'm testing sending mail locally with the mailcatcher gem . Didn't check if the gem works on Windows.

M
mzhanarys, 2017-08-01
@mzhanarys

https://chrome.google.com/webstore/detail/postman/...
It's simple

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question