jptoto/postmark-dotnet — Issue #1: MailAddress Fails Validation When Display Name has a Comma
Author: jptoto
Created: 2012-02-08 20:49:19+00:00
State: open

Originally filed by aardila.

When constructing a new Postmark message and using the MailAddress class, if you're using an address with a comma in the DisplayName, such as MailAddress("joeuser@email.com", "Joe User, jr") it will fail validation.

This appears to be a .NET 4.0 bug and is currently filed to be fixed with Microsoft.
https://connect.microsoft.com/VisualStudio/feedback/details/684327/system-net-mail-mailaddress-doesnt-quote-comma-in-display-name#tabs