Bug#386306: debian-specific patch causes errors sending to e.g.:
"test tester <test@example.com>"
Shane Allen
sallen at hrsmart.com
Wed Sep 6 16:51:08 UTC 2006
Package: libmime-lite-perl
Version: 3.01-4
A diff from CPAN source to the installed debian package shows line 513 of the debian package has:
return map { $_->address } Mail::Address->parse($_[0]);
instead of
return map { $_->format } Mail::Address->parse($_[0]);
which is in the CPAN sources. The following script runs against the CPAN-built module, but errors out when run against the Debian module:
sallen at debian:~$ more test
#!/usr/bin/perl -w
use MIME::Lite;
use strict;
my $name = "Shane Allen";
my $email = 'from at example.com';
my $myname = "test tester";
my $myemail = 'test at hrsmart.com';
my $mail = MIME::Lite->new(
To => "$name <$email>",
From => "$myname <$myemail>",
Subject => "Debian MIME::Lite test",
Type => 'text/html',
Data => "<html><body>Test test</body></html>"
);
$mail->send();
sallen at debian:~$ perl test
can't extract address at < tester <test at hrsmart.com>> in <test tester <test at hrsmart.com>>
More information about the pkg-perl-maintainers
mailing list