successfully installed action_mailer_optional_tls to send using GMail?
问题 I installed action_mailer_optional_tls for Rails 2.3.2 and Ruby 1.8.6 and I cannot get ActionMailer to send email! I get the following error: 530 5.7.0 Must issue a STARTTLS command first Sadness...anyone had success? 回答1: What is in your environment.rb file to configure the tls settings? This is what I'm using: config.action_mailer.smtp_settings = { :tls => true, :address => "smtp.gmail.com", :port => "587", :domain => "mydomain.com", :user_name => "user@mydomain.com", :password =>