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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 448
Download (untitled) / with headers
text/plain 448b
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; }
From markov [...] overmeer.net Wed Jun 1 07: 57:41 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.332 tagged_above=-99.9 required=10 tests=[AWL=1.568, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18806-1306923492-1837.68590-4-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-Cloudmark-Analysis: v=1.1 cv=HQ3F56nxkum+cgCiDL7AXQpbvw7DWrWCBJRnYYnM0Zc= c=1 sm=0 a=wom5GMh1gUkA:10 a=fb7Ip8PiB_sA:10 a=AC4b6R8PCdgA:10 a=UNHTYpqwCvUA:10 a=kj9zAlcOel0A:10 a=eNcD7ojaAAAA:8 a=SNGdGZsoAAAA:8 a=ZaIpDT9TJ8Bw80SzpDsA:9 a=CjuIK1q_8ugA:10 a=7XvQL8fRyLAA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
References: <RT-Ticket-68590 [...] rt.cpan.org> <rt-3.8.HEAD-18806-1306923492-1837.68590-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20110601115727.GC22780 [...] moon.overmeer.net>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.332
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id AF069240224 for <cpan-bug+mailtools [...] hipster.bestpractical.com>; Wed, 1 Jun 2011 07:57:41 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZWtzMv2Gwyte for <cpan-bug+mailtools [...] hipster.bestpractical.com>; Wed, 1 Jun 2011 07:57:40 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B281F24020B for <bug-mailtools [...] rt.cpan.org>; Wed, 1 Jun 2011 07:57:38 -0400 (EDT)
Received: (qmail 2023 invoked by uid 103); 1 Jun 2011 11:57:37 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 1 Jun 2011 11:57:37 -0000
Received: from fep15.mx.upcmail.net (HELO fep15.mx.upcmail.net) (62.179.121.35) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 01 Jun 2011 04:57:34 -0700
Received: from edge01.upcmail.net ([192.168.13.236]) by viefep15-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110601115729.KUEI196.viefep15-int.chello.at [...] edge01.upcmail.net> for <bug-mailtools [...] rt.cpan.org>; Wed, 1 Jun 2011 13:57:29 +0200
Received: from moon.overmeer.net ([77.249.10.184]) by edge01.upcmail.net with edge id qbxT1g02s3yF1vR01bxVgq; Wed, 01 Jun 2011 13:57:29 +0200
Received: by moon.overmeer.net (Postfix, from userid 1000) id B7A8815BD; Wed, 1 Jun 2011 13:57:27 +0200 (CEST)
Delivered-To: cpan-bug+mailtools [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #68590] Mail::Internet doesn't accept Net::SMTP::SSL object
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <markov [...] overmeer.net>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+mailtools [...] hipster.bestpractical.com
X-RT-Mail-Extension: mailtools
Date: Wed, 1 Jun 2011 13:57:27 +0200
X-Sourceip: 77.249.10.184
X-Spam-Level:
To: Jonathan Kamens via RT <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
RT-Message-ID: <rt-3.8.HEAD-18805-1306929462-1368.68590-0-0 [...] rt.cpan.org>
Content-Length: 806
Download (untitled) / with headers
text/plain 806b
* 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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9059-1309420243-598.68590-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 17
got fixed in 2.08


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.