· 9 years ago · Jan 09, 2017, 05:26 PM
1config.action_mailer.delivery_method = :smtp
2config.action_mailer.smtp_settings = {
3 address: 'smtp.gmail.com',
4 port: 587,
5 domain: 'gmail.com',
6 authentication: 'plain',
7 enable_starttls_auto: true,
8 user_name: 'your@gmail.com',
9 password: 'yourpassword'
10}
11# should probably for format testing
12# whether it play well with Gmail...