How to save MailMessage object to disk as *.eml or *.msg file

For simplicity, I’ll just quote an explanation from a Connect item: You can actually configure the SmtpClient to send emails to the file system instead of the network. You can do this programmatically using the following code: SmtpClient client = new SmtpClient(“mysmtphost”); client.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory; client.PickupDirectoryLocation = @”C:\somedirectory”; client.Send(message); You can also set this up … Read more