$message = < Why are there so many different mail modules?
There's more than one way to do it! Different modules have different
focuses, and operate at different levels; some lower, some higher.
EOF
那么 first_sentence($message) 将返回 There's more than one way to do it!。Mariachi
my $list = Mail::ListDetector->new($obj);
if ($list) {
my $name = $list->listname;
$item->accept("mail/$name.-$date");
}然而,Mail::Audit 本身还有很长一段路要走,所以如果你新架设的系统的话,我们鼓励您使用电子邮件项目
举个例子,如果我需要找 Tim O'Reilly 的邮政地址,我就会使用查询工具 mm ,从他发来的信中找出该地址:
% mm --from "Tim O" --address
Address found in message 1835 from "Tim O'Reilly" :
Tim O'Reilly @ O'Reilly & Associates, Inc.
1005 Gravenstein Highway North, Sebastopol, CA 95472
如果要获取完整的邮件,我可以说
% mm --id 1835
如果它原本包含一个附件,那么我们可能会看到类似下面的部分:
[ text/xml attachment something.xml detached - use
mm --detach 208
to recover ]
我粘贴中间的那一行 mm --detach 208 到 shell 中,然后很快的,something.xml 写到了磁盘上。