ActionMailer doesn't use default from, or any “from” for that matter
问题 I'm trying to send out "Welcome Emails" to my users, however, the default :from is not working. It is using the user_name I specify in the config/application.rb file. This is the code I currently have. config/application.rb ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "domain.com", :user_name => "myemail@gmail.com", :password => "password", :authentication => "plain", :enable_starttls_auto => true } user_mailer.rb class UserMailer <