webDAV or MAPI or something else?

  • Thread starter Thread starter planetthoughtful
  • Start date Start date
P

planetthoughtful

Hi All,

I need to build a console app that can connect to a mailbox on a
Microsoft Exchange 2000 Server located on our intranet to do the
following:

- go through all emails in the inbox
- test these emails for whether or not they have attachments that meet
a specific filename pattern
- save any attachments that meet the pattern to a local drive
- permanently delete the email with said attachments, once the
attachments are saved

I'd like to know what would be the best (perhaps better expressed as
the easiest) way to do this?

Any help will be very appreciated!

Many thanks,

pt
 
Well, you could use WebDAV, but my guess is that using MAPI would be
easier. I know that MAPI will give you what you want, but I'm not familiar
enough with WebDAV to make the same claim about it.

Also, if I had to guess, I would say that you probably have more
functions available to you through MAPI than you do WebDAV, which might
facilitate what you are trying to do.
 
Well, you could use WebDAV, but my guess is that using MAPI would be
easier. I know that MAPI will give you what you want, but I'm not familiar
enough with WebDAV to make the same claim about it.

Also, if I had to guess, I would say that you probably have more
functions available to you through MAPI than you do WebDAV, which might
facilitate what you are trying to do.

Hi Nicholas,

Thanks for the advice! You aren't aware of any examples on the web of
achieving this, by any chance? MSDN isn't being very helpful (or, at
least isn't being helpful given the keywords I'm trying to use).

Many thanks again,

pt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top