When you try to serialize the object with not with MemoryStream but with Json.NET
"JsonConvert.SerializeObject((SerializableMailMessage)message, Formatting.Indented);"
you receive this error:
Newtonsoft.Json.JsonSerializationException: 'Error getting value from 'ReadTimeout' on 'System.IO.MemoryStream'.'
It's possible to avoid this problem in the library or we need to act on Json.NET library?
When you try to serialize the object with not with MemoryStream but with Json.NET
"JsonConvert.SerializeObject((SerializableMailMessage)message, Formatting.Indented);"
you receive this error:
Newtonsoft.Json.JsonSerializationException: 'Error getting value from 'ReadTimeout' on 'System.IO.MemoryStream'.'
It's possible to avoid this problem in the library or we need to act on Json.NET library?