Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: One-off mime splitter

by $code or die (Deacon)
on Aug 20, 2001 at 04:51 UTC ( [id://106107]=note: print w/replies, xml ) Need Help??


in reply to Re: One-off mime splitter
in thread One-off mime splitter

$entity would be the single email with lots of attachments - each one is an individual email (possibly with attachments)- phew!

So... I think you want to add something like this:
foreach my $email ($entity->parts()) { # $email is now a MIME::Entity # I.e. one of the original emails that # was mistakenly combined into one. # either print the email, or capture it with # one of the "as_string" methods and use OLE # to stuff it back into Outlook. $email->print(\*STDOUT) }
This is all from memory - I wrote a mail filter last week to do some virus scanning. But might help.

Error: Keyboard not attached. Press F1 to continue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://106107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found