use strict;
use warnings;
use Test::More;
-use Email::MIME;
+use PublicInbox::MIME;
use PublicInbox::Feed;
use PublicInbox::Import;
use PublicInbox::Inbox;
{
$im->init_bare;
- local $ENV{GIT_DIR} = $git_dir;
-
foreach my $i (1..6) {
- my $mime = Email::MIME->new(<<EOF);
+ my $mime = PublicInbox::MIME->new(<<EOF);
From: ME <me\@example.com>
To: U <u\@example.com>
Message-Id: <$i\@example.com>
# add a new spam message
my $spam;
{
- $spam = Email::MIME->new(<<EOF);
+ $spam = PublicInbox::MIME->new(<<EOF);
From: SPAMMER <spammer\@example.com>
To: U <u\@example.com>
Message-Id: <this-is-spam\@example.com>