Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have built an SSIS package which reads CSV from certain folder. But now I need to download same csv from exchange server.Also Outlook is not installed on my machine. Will I be able to download CSV from exchange server and how ? Thanks!

What I have tried:

I have found out it can be done through WebDav. Also I am trying to find out the code with the help of WebDav can be automated to download the attachment daily on specific time.
Posted
Updated 6-Jul-17 2:26am
v2
Comments
PIEBALDconsult 5-Jul-17 17:51pm    
I'd like to know that too. So far I only know how to write an Outlook rule (in VBA) that downloads the attachments, but it can't be automated, it has to be run manually.

1 solution

I'd suggest using either IMAP or POP3 to fetch the email. You'll then need to parse the message to extract the attachment.

Fortunately, the hard work has already been done for you!
MimeKit[^]
GitHub - jstedfast/MailKit: A cross-platform .NET library for IMAP, POP3, and SMTP.[^]
GitHub - jstedfast/MimeKit: A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900