872 B
872 B
Deserialization of MailMessage objects serialized under the .NET Framework 4.5 may fail
Scope
Minor
Version Introduced
4.5
Source Analyzer Status
Investigating
Change Description
Starting with the .NET Framework 4.5, T:System.Web.Mail.MailMessage
objects can include non-ASCII characters. In the .NET Framework 4, only ASCII characters are supported. T:System.Web.Mail.MailMessage
objects that contain non-ASCII characters and that are serialized under the .NET Framework 4.5 or later cannot be deserialized under the .NET Framework 4.
- Quirked
- Build-time break
Recommended Action
Ensure that your code provides exception handling when deserializing a T:System.Web.Mail.MailMessage
object.
Affected APIs
T:System.Web.Mail.MailMessage
Category
Networking