34 lines
872 B
Markdown
34 lines
872 B
Markdown
## 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
|
|
|
|
<!--
|
|
### Original Bug
|
|
Bug link goes here
|
|
-->
|
|
|
|
|