On Wed, Sep 06, 2006 at 11:51:08AM -0500, Shane Allen wrote: > 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:
[...] > $mail->send(); > [EMAIL PROTECTED]:~$ perl test > can't extract address at < tester <[EMAIL PROTECTED]>> in <test tester > <[EMAIL PROTECTED]>> Hi, I can't reproduce this. Your example works fine for me on Debian stable (which I assume you're running as well.) Furthermore, looking at the code, the "can't extract address" comes from a code path that's taken only if Mail::Address is not installed, while the diff you quoted is in the other path. Thus, it would seem that the debian patch has nothing to do with the problem. I also note that when calling $mail->send() with an unmodified Debian version of MIME/Lite.pm, the code path that is taken should never call the 'extract_addrs' function at all. Is it possible that you have either modified the module or have left something out of the test case? To conclude, this message happens when MIME::Lite is used without Mail::Address installed and the mail is sent either with the smtp method or with the sendmail method that's somehow passed non-default arguments. There should be no difference to upstream behaviour, AFAICS. Please re-check that your testcase is correct and that you're using an unmodified MIME/Lite.pm. Please also try with and without Mail::Address (ie. libmailtools-perl) installed. Sorry if I'm missing something. Cheers, -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]