Email Attachements download from MS Exchange Server
whitesox
created: 2006-05-03 09:09:09
Hi, Is there a way to automatically download attachedment files from Microsoft Exchange Server and save it on a filesystem in some folder. I want to automatically download attached files when a new email arrives from a specific contact. Don't want to delete the previous emails just want to download the latest email attachment if coming from some specified contact else don't do anything. I have the smtp host and port but how do I connect to and download the attachments.

I just installed ActivePerl-5.8.8.817-MSWin32-x86-257965 and tried to run some samples with MIME::Parser but am getting an error saying MIME::Parser not found. I downloaded the module from CPAN but when running INSTALL it asks for other modules i.e. stringy etc. I downloaded stringy but how do I go installing this. Where do I get something all packaged in one. I am on windows. Any help is appreciated Thanks
Re: Email Attachements download from MS Exchange Server
created: 2006-05-03 09:14:36

Hello whitesox. Your post seems to be a continuation of Download email attachements from MS Exchange Server automatically, where you already got pointers on how to proceed. As you don't give us much to work with, let me point you to node 172086, which helps you to formulate an effective node title and question, which enables us to help you more efficiently.

Especially, we need to know the exact commands you type, and the exact error messages you get. wfsp already pointed out how you can go and install MIME::Parser, so your best approach would be to tell us where and how this fails for you.

There is no module "stringy", and there is no distribution other than Activestate Perl which includes more modules - again, the exact things you tried and the exact error message helps us diagnose the situation much better.

Please also have the courtesy of pointing out previous related posts, or maybe simply post your continuations as a follow up reply to your original thread instead of opening a new, related thread.

Re: Email Attachements download from MS Exchange Server
created: 2006-05-03 09:15:02
whitesox,

In your previous thread wfsp pointed you towards guides from the Tutorials section of this site. If you use PPM it will download all of the dependant modules required by MIME::Parser. Take a look at A guide to installing modules for Win32.

Hope this helps.

Martin
Re: Email Attachements download from MS Exchange Server
created: 2006-05-03 10:34:41
whitesox,

Did you use PPM to install MIME::Parser? It is the way I would suggest installing modules if you are using ActiveState. Just type PPM on the command line to enter the PPM shell. Once in the PPM shell you can search for available packages, using the command search xxxxx where xxxxx is the module or part of the module name you are looking for. In your case "search MIME" will give you a list of MIME-related modules. Once you find the module you need, use the install command to install it. Use the help command in the PPM shell for more details.

Incidentally, it is the MIME::Tools module that you want. It includes MIME::Parser and other modules you'll need like the "stringy" module.

Good Luck,

Trix

perlmonks.org content © perlmonks.org and Corion, marto, Trix606, whitesox

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03