sendgrid username and password environment variables are not read when action mailer is executed
问题 expected: telnet smtp.sendgrid.net 587 EHLO AUTH LOGIN Enter username in Base64 Enter password in Base64 235 Authentication successful Actual: Via localhost config/environments/development.rb config.action_mailer.raise_delivery_errors = true config/environment.rb ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { address: 'smtp.sendgrid.net', port: 587, domain: 'example.com', user_name: ENV["SENDGRID_USERNAME"], password: ENV["SENDGRID_PASSWORD"], authentication: