Skip Menu |
 

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 84668
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: dfs+pause [...] roaringpenguin.com
Requestors: kemicl [...] virginmedia.com
Cc:
AdminCc:

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



Subject: Possible solution for Smtpsend.t failure
Date: Tue, 16 Apr 2013 14:34:30 +0100
To: bug-MIME-tools [...] rt.cpan.org
From: Kenneth McLaren <kemicl [...] virginmedia.com>
Download (untitled) / with headers
text/plain 768b
Hello, As part of the installation of Email::Simple etc. I got a test failure for MIME::Tools-5.504, namely Smtpsend.t failed. I see the failure reported under CPAN testers for OSX at http://www.cpantesters.org/cpan/report/c53ab476-83d6-11e2-ac0a-fd2b250c86a9 I separated out the server and client code to get rid of any timing issues and found that the client or sending side was getting delayed for about 30 seconds trying to identify the sender using the mailaddress() function from Mail::Util. So the workaround that I have found is the following, At the start of Smtpsend.t, i.e. just after the use statements add the following line, $ENV{MAILDOMAIN} = 'example.com'; The test still takes 13 odd seconds to run but it completes successfully. Regards, Ken.
Subject: Re: [rt.cpan.org #84668] Possible solution for Smtpsend.t failure
Date: Tue, 13 Aug 2013 10:54:33 -0400
To: bug-MIME-tools [...] rt.cpan.org
From: "David F. Skoll" <dfs [...] roaringpenguin.com>
Download (untitled) / with headers
text/plain 487b
On Tue, 16 Apr 2013 09:34:44 -0400 "Kenneth McLaren via RT" <bug-MIME-tools@rt.cpan.org> wrote: Show quoted text
> So the workaround that I have found is the following, At the start of > Smtpsend.t, i.e. just after the use statements add the following line,
Show quoted text
> $ENV{MAILDOMAIN} = 'example.com';
Show quoted text
> The test still takes 13 odd seconds to run but it completes > successfully.
Thanks for that. I've applied the change in my development tree; it will be in the next MIME::Tools release. Regards, David.
Hi, I have just uploaded MIME::tools 5.505 to CPAN which resolves this ticket. Regards, David.


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.