这是我的perl代码:
my $email = Email::Simple->new($brutEmail);
my $body = $email->body;
print $body;
结果是
--0016364d2ceb8da59d048be66a88 Content-Type: text/plain; charset=ISO-8859-1 Mail content email contents email contentss
emails contentsss emmails contentsssss emmmail cccontent
--0016364d2ceb8da59d048be66a88--
或
--0016364d2ceb8da59d048be66a88 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable eMail
content eMail content eMail content eMail content eMail content eMail content
--0016364d2ceb8da59d048be66a88--
我只想检索没有标题的邮件正文。
eMail content eMail content eMail content eMail content eMail content eMail content
任何想法?没有正则表达式..
THX