Hi Venu,
Thanks for considering Aspose.
Yes, you can load a saved msg file in MailMessage object, change its properties e.g. Subject, From, To, Body etc and save it with the same file name. The properties will be updated this way.
You can also attach the msg file in another message using MailMessage.Attachments.Add() method:
Here is the sample code:
// change properties of an existing msg file
string strExistingMsg = @"E:\Data\Aspose\temp\1.msg";
// load the existing file in MailMessage
MailMessage msg = MailMessage.Load(strExistingMsg, MessageFormat.Msg);
// change the properties
msg.Subject = "NEW SUBJECT (updated by Aspose.Network)";
msg.From = "sendernew@yahoo.com";
msg.To = "recipientnew@hotmail.com";
msg.HtmlBody = "NEW BODY (udpated by Aspose.Network)";
// save it again
msg.Save(strExistingMsg, MessageFormat.Msg);
Process.Start(strExistingMsg);
// Create a new msg and attach the above msg
string strNewMsg = @"E:\Data\Aspose\temp\New.msg";
MailMessage msgNew = new MailMessage("sender@domain.com", "recipient@domain.com");
msgNew.Subject = "subject";
msgNew.HtmlBody = "body of the email msg";
msgNew.Attachments.Add(new Attachment(strExistingMsg)); // add the attachment
// save this new message file
msgNew.Save(strNewMsg, MessageFormat.Msg);
Process.Start(strNewMsg);