Skip to content

Commit

Permalink
disable_starttls flag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GChuf committed Oct 7, 2022
1 parent 6cf3a56 commit 00278e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mail/network/delivery_methods/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def build_smtp_session
when true
smtp.enable_starttls_auto(ssl_context)
when false
smtp.disable_starttls_auto
smtp.disable_starttls
else
raise ArgumentError, "Unrecognized :enable_starttls_auto value #{settings[:enable_starttls_auto].inspect}; expected true, false, or nil"
end
Expand Down

0 comments on commit 00278e5

Please sign in to comment.