Bug#929547: Fails for local addresses

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun May 26 00:50:51 BST 2019


Package: libemail-mime-perl
Version: 1.946-1

Suddenly this is failing

    use Email::MIME;
    my $email = Email::MIME->create(
        header_str => [
            From => 'casey',
            To   => [ 'user1 at host.com', 'Name <user2 at host.com>' ],
        ],
    );
    print $email->as_string;

With


    Argument contains empty address at /usr/share/perl5/Email/MIME/Encode.pm line 70.
    From: 
    To: user1 at host.com, Name <user2 at host.com>
    Date: Sun, 26 May 2019 07:43:41 +0800
    MIME-Version: 1.0

That it is a bug is proven by the "empty address" error.

If it objected that there was no "@" then it would have said that instead.



More information about the pkg-perl-maintainers mailing list