We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Serialization problem

Hi,

Some of your objects are not serializable, so we can't use ASP.net state service to store session data like emails. We must use inproc mode, but, as you know, with inproc mode, if the w3wp service stops or il the application stops, then all session data are lost. Then, all unsaved user data are lost. That is why we like to use asp.net state service.

Will you modifiy your objects so they can be serialized?

[SerializationException: Type 'Aspose.Network.Mail.MailMessage' in Assembly 'Aspose.Network, Version=6.4.0.0, Culture=neutral, PublicKeyToken=ad504e9f0d34714a' is not marked as serializable.]

Best regards,

Hi,

Thank you for inquiry.

We will investigate on this and let you know. Which other objects you need to store in session?

Hi,

Mainly, I need to srore the mailmessage object.

But it would be interresting to store SMPT and POP related objetcs too.

Thanks,

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

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