Solved

Extract Email Attachments from Outlook (exchange server) using C#

Posted on 2009-07-07
5
1,037 Views
Last Modified: 2013-12-17
I am looking to use C# to extract a .zip attachment from a specific email address (does not change) from Outlook , place it in a local directory and automatically unzip it.
So when email comes in from : user@user.com with an attachment named: file.zip. The script extracts it, places it in a folder : C:\Folder,  and then unzips it using WINRAR or similar. Hope this makes sense.
Thank you for the help.
0
Comment
Question by:Shaggy1
  • 3
5 Comments
 
LVL 15

Expert Comment

by:jinal
ID: 24795252
Hello ,

Can you please explain more ?

Like who is sender and who is receiver ? They are predfined or not.

You can use openpop.net to read pop3 email.


0
 

Author Comment

by:Shaggy1
ID: 24795288
well for privacy reasons, i can't display the actual emails. They are predefined, yes. So the sender will always be: sender@company.com and the recipient would always be: receiver@company.com.
0
 
LVL 15

Expert Comment

by:jinal
ID: 24795582
One more thing i want to ask you that.

You want to read it from server or from outlook ?

Because if you want to read from server than simply pop3 protocol but if you want to read from outlook than you have to use Office Application in .net to read email.
0
 
LVL 15

Accepted Solution

by:
jinal earned 250 total points
ID: 24795616
0
 

Expert Comment

by:chokka
ID: 25045482
I am working on the same scenario ..! I am looking for assistance..!


Probably from the Author ( shaggy1 ) who posted this question  ..!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now