Skip Menu |

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 68590
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: jik [...] kamens.brookline.ma.us
Cc:
AdminCc:

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



Subject: Mail::Internet doesn't accept Net::SMTP::SSL object
Patch speaks for itself: --- /usr/share/perl5/Mail/Internet.pm~ 2010-10-01 06:39:50.000000000 -0400 +++ /usr/share/perl5/Mail/Internet.pm 2011-06-01 06:11:53.189125826 -0400 @@ -406,7 +406,8 @@ last if defined $smtp; } } - elsif(ref($host) && UNIVERSAL::isa($host,'Net::SMTP')) + elsif(ref($host) && (UNIVERSAL::isa($host,'Net::SMTP') || + UNIVERSAL::isa($host,'Net::SMTP::SSL'))) { $smtp = $host; $quit = 0; }
Subject: Re: [rt.cpan.org #68590] Mail::Internet doesn't accept Net::SMTP::SSL object
Date: Wed, 1 Jun 2011 13:57:27 +0200
To: Jonathan Kamens via RT <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Jonathan Kamens via RT (bug-MailTools@rt.cpan.org) [110601 10:18]: Show quoted text
> Wed Jun 01 06:18:11 2011: Request 68590 was acted upon. > Transaction: Ticket created by JIK > Queue: MailTools > Subject: Mail::Internet doesn't accept Net::SMTP::SSL object > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68590 >
Right. Apparently, Net::SMTP::SSL does not cleanly extend Net::SMTP but hijacs all the subs separately. Released in 2.08, a few seconds ago to CPAN. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
got fixed in 2.08