Documentation
There are multiple references to RFC 2822 in documentation, docstrings and comments. Some of these should be updated to RFC 5322 (that obsoleted RFC 2822), and it looks like some should be kept as they are because they belong to the legacy email API. In some cases the reference to both RFCs should be kept to explain the evolution of the standard.
Linked PRs
Documentation
There are multiple references to RFC 2822 in documentation, docstrings and comments. Some of these should be updated to RFC 5322 (that obsoleted RFC 2822), and it looks like some should be kept as they are because they belong to the legacy email API. In some cases the reference to both RFCs should be kept to explain the evolution of the standard.
Linked PRs