Merge branch 'dk/send-email-avoid-net-smtp-ssl-when-able'
A hotfix to a topic in 'master'. * dk/send-email-avoid-net-smtp-ssl-when-able: send-email: Net::SMTP::starttls was introduced in v2.34
This commit is contained in:
commit
b85b88141e
@ -1355,7 +1355,7 @@ EOF
|
||||
}
|
||||
|
||||
require Net::SMTP;
|
||||
my $use_net_smtp_ssl = version->parse($Net::SMTP::VERSION) < version->parse("1.28");
|
||||
my $use_net_smtp_ssl = version->parse($Net::SMTP::VERSION) < version->parse("2.34");
|
||||
$smtp_domain ||= maildomain();
|
||||
|
||||
if ($smtp_encryption eq 'ssl') {
|
||||
|
Loading…
Reference in New Issue
Block a user