mole1066 wrote:Actually I have binned using the plugins and am now making use of the native tls functionality. Simply add the following line to your smtp settings
:enable_starttls_auto => true,
works a treat. Hurrah!
Can you please list your settings as I have no smtp-tls plugins installed and am running on rails 2.3.2 + ruby 1.8.7 and I still get the error:
530 5.7.0 Must issue a STARTTLS command first. b4sm670946tic.10
My settings are:
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'somedomain.com',
:authentication => :login,
:user_name => 'my_name@somedomain.com',
:password => 'secret'
}I have not set :enable_starttls_auto => true because the RDoc for actionmailer-2.3.2 states that:
:enable_starttls_auto - When set to true, detects if STARTTLS is enabled in your SMTP server and starts to use it. It works only on Ruby >= 1.8.7 and Ruby >= 1.9. Default is true.
I am begging for help for this one. You are the third person I have seen that has made the same claim, that rails 2.3.2 can utilise the tls functionality without plugins.