Setting Up a Development Mailer for Rails With a Gmail Account
Setting up the rails mailer for development purposes is much easier. using the action mailer to configure the gmail services, is just a few commands and configurations away…
Make sure that these settings are not used in production.
- Firstly Sign Up for a dummy gmail account.
- Next add the following configuration in development.rb
1 2 3 4 5 6 7 8 9 10
Login to the gmail account and check the sent mails, to preview the sent mail.
There’s a lot more that can be done with this, check the Rails Guids for more information.
Any questions on this, please feel free to ask. We’re here to help…