Hi Matthew, Thanks for you help ! =)
2007/10/10, Matthew Whipple <[EMAIL PROTECTED]>: > > I'm not sure what exactly qualifies as an ".eml" file, and a quick look > appears as though it's somewhat an MS Outlook format and therefore it's > questionable whether the data is being modified or not (my strongest > association is the Outlook RTF issues several years back). I'm thinking > that regardless the .eml file is intended for a single e-mail and not a > mailbox, and I'm not sure how you're using it. I'd suggest storing the Yes, that's a one mail file, and it's actually the source code for an email, plain text. Not the mail box. data in a standard mbox format or maildir setup (one or the other would > better suit the particular volume and rollback frequency you're dealing Hmm... I am working on a Win32 platform, and I am talking to a remote Mail server, I can't take control to the mail server or touch the folders. with). Neither one will actually modify the e-mail itself, however, > which should allow you to send the mail by just piping it back into > Mail::Sender without attaching it. If you did want to attach it any I don't understand... what's piping back?! I am sorry that I don't familiar on pipes. problems caused by modified data would be eliminated and then any other > problems would likely be solved by becoming more familiar with e-mail > and MIME formatting. I don't modify the data, my only task is somewhat to put back the .eml ( mail content ) to the original recipient. Anymore clues ? Thank you very much =) Panda-X Panda-X wrote: > > Hi list, > > > > 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. > > > > I try to create a new mail, and attach the .eml file with Mail::Sender, > > however, the attach.eml file become raw text in the content of the > email. > > > > 3 questions : > > > > 1. Is that Mail::Sender able to fit my task ? > > 2. should I consider to modify the .eml file is \r\n for each line ? > > 3. Any module is exactly design for this ? > > > > Any clues is highly appreciate =) > > Thank you very much ! > > > > Panda-X > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > >