David, Take a look at perlmonks.org, somebody wrote a script that does something very similar to what you're looking for.
Specifically, http://www.perlmonks.com/index.pl?node_id=12287 has a good starting point! It uses the MIME tools if memory serves me... -------------------------- David Olbersen iGuard Engineer 11415 West Bernardo Court San Diego, CA 92127 1-858-676-2277 x2152 > -----Original Message----- > From: Wagner, David --- Senior Programmer Analyst --- WGO > [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 12:23 PM > To: Beginner Perl > Subject: How to pull all attachments from an email and save as unique > ids? > > > I have one email which has 100 attachments (mail ids) > which are not unique and when I save attachments via Outlook > and it comes back repeatedly saying that this file already > exists, do you want to replace. > > I am not even sure where to start, just know that Perl > will have a way to solve it. I looked through the options > under Outlook and did see anythgin that stood out as a way to > solve the problem. The mail message is sitting in my inbox. > > I am running AS 5.6.0 build 623 ( I know it is older, > but have some things running which are functioning and doing > work in a Prod environment). > > An example that I can expand upon. Anything that will > allow me to save because I am going to have do it again. > > Thanks. > > Wags ;) > > > > ********************************************************** > This message contains information that is confidential > and proprietary to FedEx Freight or its affiliates. > It is intended only for the recipient named and for > the express purpose(s) described therein. > Any other use is prohibited. > **************************************************************** > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]