-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail calls non-existent Net::SMTP disable_starttls_auto #1571
Comments
vladimir-mencl-eresearch
added a commit
to REANNZ/rapidconnect
that referenced
this issue
Mar 19, 2023
This reverts commit af41f21. Because mikel/mail#1571 makes Ruby Mail break with `enable_starttls_auto: false` - and exim4 on REANNZ servers no longer offers TLS, so enabling auto is safe again.
@vladimir-mencl-eresearch this was fixed in v2.8.1. |
Ah, I now see it was - should, should have checked before reporting. |
vladimir-mencl-eresearch
added a commit
to REANNZ/rapidconnect
that referenced
this issue
Mar 20, 2023
Fix for mikel/mail#1571 released in mail 2.8.1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: