Solved

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

Posted on 2009-07-07
5
1,055 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

734 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