config.action_mailer.smtp_settings = {
address: "smtp.gmail.com",
port: 587,
user_name: "<username>",
password: "<password>",
authentication: "plain",
enable_starttls_auto: true }
看到railscast china邮件中密码是在其他地方设置的
:user_name => 'poshboytl',
:password => ENV['GMAIL_PASS'],
这里的 ENV['GMAIL_PASS'] 如何使用?