Solved

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

Posted on 2009-07-07
5
1,061 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

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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