NAME

Mailfetch::Rule::MIMEPart::Attachment::Filename - does the mail contain an certain file?

SYNOPSIS

  # XXX to be done
  perl -Ilib -MMailfetch::Rule::MIMEPart::Attachment::Filename=test,mbox,re,foo.txt

  # or, in your Perl code:
  push @rules, Mailfetch::Rule::MIMEPart::Attachment::Filename->new(re => qr/^MailTexte.zip$/, action => 'Delete');