Sender sometimes not recognized and then ignored

Hi,

Another bug concerning the sender of email. See attached email, the sender is rejected and the email is saved with no sender. Aspose.network 6.8.0.0

Regards,

Hi Jean-Christian,

Thank you for writing to us.

I would like to share with you that Aspose.Network has evolved into Aspose.Email for .NET product and you can refer to the Migrating from Aspose.Network to Aspose.Email for .NET article for using Aspose.Email instead of Aspose.Network. Please download the latest version of Aspose.Email for .NET 2.6.0 to use in your applications.

Also, I have tested your mentioned scenario using this latest version of Aspose.Email for .NET 2.6.0 and it saved the email without rejecting the “From” address. Please refer to the following code and the attached screenshot for your reference. Please try it at your end and let us know your feedback.

MailMessage mailMsg = MailMessage.Load("email.txt", MessageFormat.Eml);
Console.WriteLine("From:" + mailMsg.From);
Console.WriteLine("To: " + mailMsg.To);
mailMsg.Save("emailOut.eml", MessageFormat.Eml);

Hi,

Thank you for your quick answer.

Have a nice day,

Hi Jean-Christian,


Thank you for the feedback, and if you have any inquiry/query related to Aspose.Email, please feel free to write to us. We’ll be glad to assist you further.