Skip to content

Corrupted email headers when DisplayName contains new line #128636

@mrek-msft

Description

@mrek-msft

When email address display name contains new line (for example, at the end of the string as a consequence of some parsing), SmtpClient do not trim such new line(s) and attempt to send email with corrupted headers.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions