After updating to mail 2.8.0, mail delivery from my app stopped working for me.
I have enable_starttls_auto: false in my Mail delivery_method defaults.
The recent changes to lib/mail/network/delivery_methods/smtp.rb (d91f335) call disable_starttls_auto method that does not exist in net/smtp.rb, resulting into:
I believe this could be easily fixed by replacing the disable_starttls_auto call with disable_starttls - looking at https://github.com/ruby/net-smtp/blob/master/lib/net/smtp.rb, the "auto" behaviour is just tracked by setting @starttls to :auto, and setting it to false would do the right thing.
Hi,
After updating to mail 2.8.0, mail delivery from my app stopped working for me.
I have
enable_starttls_auto: false
in my Maildelivery_method
defaults.The recent changes to
lib/mail/network/delivery_methods/smtp.rb
(d91f335) calldisable_starttls_auto
method that does not exist innet/smtp.rb
, resulting into:I believe this could be easily fixed by replacing the
disable_starttls_auto
call withdisable_starttls
- looking at https://github.com/ruby/net-smtp/blob/master/lib/net/smtp.rb, the "auto" behaviour is just tracked by setting@starttls
to:auto
, and setting it tofalse
would do the right thing.Cheers, Vlad