Shaggy1
asked on
Extract Email Attachments from Outlook (exchange server) using C#
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.
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.
ASKER
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.
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am working on the same scenario ..! I am looking for assistance..!
Probably from the Author ( shaggy1 ) who posted this question ..!
Probably from the Author ( shaggy1 ) who posted this question ..!
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.