Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commas in display names not parsed correctly #375

Open
LovingGarlic opened this issue Oct 11, 2024 · 0 comments
Open

Commas in display names not parsed correctly #375

LovingGarlic opened this issue Oct 11, 2024 · 0 comments

Comments

@LovingGarlic
Copy link

If an email address's displayName contains commas (ex: Joe Foo, PhD) mailparser will try to split it at each comma, resulting in multiple AddressObjects like so:
[
{
"address": "",
"name": "Joe Foo"
},
{
"address": "[email protected]",
"name": "PhD"
}
]

I've had incoming messages with similar display names come through and cause issues because of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant