RE: MIME format occasional failure

"Kjetil Engen" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <000001c3f8c0$b0349070$9e045213@abf1>
The problem is not the header but that the mail is a multi-part message
(or in plain english: contains attachment).
What you need to do is to use the mime handling example following the
source code.

Use that code and search for parts with "inline" as dispostion.
That's your body in a multi-part e-mail.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tim Boyer
Sent: 21. februar 2004 20:19
To: [email protected]
Subject: MIME format occasional failure


I've got an extremely simple application that reads a spamtrap mailbox,
splits them into individual messages, and sends them off to SpamCop and
the Usenet group news.admin.net-abuse.sightings.

95% of the time, all is well and it works like a charm.  5% of the time,
rather than emailing off a copy, the header alone gets emailed, and the
body itself simply scrolls across the screen.

I _think_ I've got it narrowed down - it only happens in messages in
MIME format.

I'm running 2.054, and using Perl 5.8.  I've looked through archives,
and haven't seen anything like this mentioned.  Anyone run into
something like this before?

I've got no problem posting the script itself (other than embarrassment
at my Perl skills) because it's only 30 lines long, and test message
that fails is 50 lines.  However, I'm not certain of the etiquette on
this particular list, so I thought I'd better ask first before posting
any code.

Thanks much,

--
Tim Boyer
Director
Information Systems and Engineering Projects
Denman Tire Corporation
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.