Bug - base64 encoded attachment truncated

Hi,

there seems to be a bug in Apsose.Network for .NET version 4.8.1.0.

please try the following code (test.zip file is attached in this post):

using (MailMessage mailMessage = new MailMessage(“a@b.c”, “a@b.c”, “subject”, “body”))
{
mailMessage.AddAttachment(new Attachment(“C:\test.zip”));
mailMessage.Save(“C:\test.eml”);
}

The test.zip size is 1261 bytes long but the resulting attachment inside the saved message is 1260 bytes long.
Please provide a fix ASAP.

Thank you

Robert

Hi Robert,

I have reproduced the issue at my end and added it in our bug tracking system (ID: 13543).

We will look into it and try our best to fix it as soon as possible. Sorry for the inconvenience.

Hello,

what is the progress regarding this issue? It has been two weeks and because this bug is quite serious it is a show-stopper for us. I really need a solution as soon as possible.

thank you
Robert

Hi Robert,

We are working on this issue. Hopefully, it will be fixed in our coming release. I will notify you as soon as it’s fixed. Thanks for your patience.

Hi,

what is the ETA for the next release?
Thank you
Robert

The issues you have found earlier (filed as 13543) have been fixed in [this update ](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry220477.aspx).

This message was posted using Notification2Forum from Downloads module by aspose.notifier.