I have an archive of about 1000 emails in a folder on my desktop, I drag them out of outlook into this folder to create space in my inbox.
The problem is that the "Created", "Modified" and "Accessed" dates are all set to the time that the file was dragged into the folder (like you'd expect). What I'd like to do is write a short program to loop through all the files and extract the info about the dates when the emails were actually sent to me. Then I'd set the file date attributes to the same times.
My question: How do I open (through code) the email message and extract the sent date from the data? Is there a class already available in .net to do this or will I have to crack it myself?


Reply With Quote