2.3.1
5.0.2
-
You need to add your smtp configuration at the end of the file
config/enviroments/development.rb
-
Change the email of sender
[email protected]
inapp/mailers/application_mailer.rb
for your own sender -
Change the email
[email protected]
of the test user indb/seeds.rb
for your own email recipient
This project use sqlite as a data base, to configure it run rake db:setup db:migrate
Run seed to load default user for testing rake db:seed
To start up the project run rails s
and use this url http://localhost:3000/users/1
in your browser.
When you call this url the send mail
function is called in the methods show
of the app/controllers/users_controllers.rb
, this is only for test propose.