From: Panda-X <[EMAIL PROTECTED]> > quite new to be here. I just wondering if Perl have some quite suitable > module to do this. > > I have wrote a spam filter for my office, which use Net::POP3 to get mails > and delete() mails that don't want, the 'got()' mails is however saved at > the other place, for 2 reasons, further study on the spam pattern and for > rollback. > > My problem is on the roll back part. I stored the mail in a .eml file, > however, I don't know how to put it back to user per request.
What's the format of the .eml file? You say you stored the mait there yourself and you are getting it with Net::POP3 so I don't think it has anything to do with the Outlook .eml format, but I could be wrong. If it's just a plain text file containing all the headers and boundaries and encoded data, you should be able to send it with Net::SMTP. Just make sure it only contains the stuff you downloaded with Net::POP3, not something more you added yourself. If this doesn't work, send us an example .eml file. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/