Writing the 'From ' line
Bill Moseley <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
My goal is to get a mbox file with the messages sorted by $msg->timestamp. I'm reading message from one mailbox, sorting by $msg->timestamp, and adding the messages to an outbox with: $outbox->addMessage( $message ); But the resulting mbox file is not is the same order as I add the messages. So, I thought about writing the mbox manually using $message->write; so the output would include the 'From ', but it's not being output. How do I get the 'From ' line included in the message output? I'm using Mail::Box::Manager to open both the input and output. -- Bill Moseley [email protected]