0

I need to get a zip file from an email attachment, unzip it and copy it somewhere.

What would be the way I should go about it?

I'm currently googling around things like 'Exchange API' and 'processing email attachments' and kind of hoping this kind of thing has been done before.

The environment will be Windows and Exchange 2003, and any coding will preferably be in C#.

3 Answers 3

0

I had to do this some time ago, and the best way is to use WEBDAV. Every mail item can be referenced like a URL.

If you check out this blog post on WEBDAV, it should show you the way.

0

I did this in the end using Redemption I had a couple of problems, hence the linked question but got there in the end.

You do need to have the Outlook client installed, and you need full mailbox rights (not just read) on whatever mailbox you are trying to access.

This question, Read MS Exchange email in C# asked a couple of weeks after mine got some good answers as well.

-1

Assuming you want to do this in .NET you will either have to write or purchase a POP3 or IMAP4 class library to communicate with the Exchange server.

Here is one example of a POP3 client from CodeProject: http://www.codeproject.com/KB/IP/despop3client.aspx

1
  • Wrong - there are several ways to access Exchange from .Net (WebDav, Webservices etc)
    – Matt
    Jul 12, 2012 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.