I have emails in DB, and i want to save them as *.eml files.
SmtpClient Client = new SmtpClient();
Client.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory;
Client.PickupDirectoryLocation = @"c:\aaa\import";
MailMessage Message = new MailMessage();
...
Client.Send(Message);
This works, but it replace the Date header to the present date and time. How can i define custom dates and times?
I found this, but it is not free.