Skip to content

Corrupted email headers when DisplayName contains new line #128636

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.

Activity

  1. self-assigned this
    on May 27, 2026
  2. dotnet-policy-service commented on May 27, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @karelz, @dotnet/ncl
    See info in area-owners.md if you want to be subscribed.

  3. added this to the 11.0.0 milestone on Jun 2, 2026
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 2, 2026
  5. removed their assignment
    on Jun 4, 2026
  6. locked and limited conversation to collaborators on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions