· 9 years ago · Nov 05, 2016, 09:54 PM
1 # Add the following code to your config/environments/development.rb
2
3 config.action_mailer.delivery_method = :smtp
4 config.action_mailer.smtp_settings = {
5 address: 'smtp.gmail.com',
6 port: '587',
7 user_name: 'futures.fund.coding@gmail.com',
8 password: 'BRCC&SU2016',
9 domain: 'gmail.com',
10 :authentication => :plain,
11 :enable_starttls_auto => true
12 }