Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Send CPAN distribution.

Report information
The Basics
Id: 23611
Status: resolved
Priority: 0/
Queue: Email-Send

People
Owner: Nobody in particular
Requestors: andreas.marienborg [...] gmail.com
rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: TLS support broken
TLS support, introduced in 2.180, does not work properly. It needs tests and to be fixed. -- rjbs
I have this problem as well. The attached patch fixes the error that Email::Send::SMTP does, by not loading the propper Net::SMTP module. The other part of the problem needs to be fixed in Net::SMTP::TLS, I have added a ticket with a patch here on RT for that issue.
--- SMTP.pm.old 2007-09-03 16:42:54.000000000 +0200 +++ SMTP.pm 2007-09-03 17:07:29.000000000 +0200 @@ -36,7 +36,6 @@ sub send { my ($class, $message, @args) = @_; - require Net::SMTP; if ( @_ > 1 ) { my %args; if ( @args % 2 ) { @@ -53,6 +52,7 @@ : $args{tls} ? 'Net::SMTP::TLS' : 'Net::SMTP'; + $class->is_available(%args); $SMTP->quit if $SMTP; $SMTP = $smtp_class->new($host, %args); return failure "Couldn't connect to $host" unless $SMTP;
I would link it, but I get permission denied. The bug id of the Net::SMTP::TLS bug is #29135
mostly resolved ages ago #30825 has more information on remaining issues. -- rjbs
I believe this is fixed in 2.199 -- rjbs
I think fixed in 2.199 -- rjbs