Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different Delete Messages 7 37
What are the Important skill to have as Asp.net Developer 8 43
Authentication of Web Services 3 46
Angular JS Route 3 45
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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

21 Experts available now in Live!

Get 1:1 Help Now