Broken appointment with attachments

Hi Alex,


As you may have got the notification regarding the resolutionof NEWORKNET-33503 with Aspose.Email for .NET 2.4.0, I would like to share with you that we have included a new method RecomposeTnefContent() to save TNEF contents of a message after changing contents of its attachment(s). It’s sample usage is as follow:


MailMessage main = MailMessage.Load(“original_message.eml”);

main.Attachments[0].ContentStream = new MemoryStream(File.ReadAllBytes(“test.docx”));

main.RecomposeTnefContent();

main.From = "from@hotmail.com";

main.To = "to@aspose.com";

//send using SMTP client