summaryrefslogtreecommitdiff
path: root/bin/sendEmail
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sendEmail')
-rwxr-xr-xbin/sendEmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sendEmail b/bin/sendEmail
index 8487be8..8785c1b 100755
--- a/bin/sendEmail
+++ b/bin/sendEmail
@@ -1903,7 +1903,7 @@ else {
if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
printmsg("DEBUG => Starting TLS", 2);
if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
- my $ssl_ver = 'SSLv3';
+ my $ssl_ver = 'TLSv1';
if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => $ssl_ver)) {
quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
}