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

If 'to' parameter has name and email, and the name has comma, it breaks the email address. #448

Closed
rafalohn opened this issue Sep 29, 2017 · 1 comment
Labels
difficulty: unknown or n/a fix is unknown in difficulty type: non-library issue API issue not solvable via the SDK

Comments

@rafalohn
Copy link

rafalohn commented Sep 29, 2017

Issue Summary

Using @sendgrid/mail 6.1.4, when sending emails with the to parameter with both name and email:

to: {
    name: 'Some One',
    email: '[email protected]',
},

Works fine. But if the 'name' has commas as:

to: {
    name: 'Friend, his wife, his dog and friends',
    email: '[email protected]',
},

It does not work. In that scenario sendgrid dashboard drops the email considering 'friend' as the invalid email instead of '[email protected]'.

@thinkingserious thinkingserious added the type: non-library issue API issue not solvable via the SDK label Sep 30, 2017
@thinkingserious
Copy link
Contributor

Hello @rafalohn,

This is an API level issue as described here. There is also a work around described at that issue.

I’ve passed along your feedback to the product team to help build priority.

With Best Regards,

Elmer

@mbernier mbernier removed difficulty: easy fix is easy in difficulty difficulty: hard fix is hard in difficulty difficulty: very hard fix is very hard in difficulty difficulty: medium fix is medium in difficulty labels Oct 27, 2017
@thinkingserious thinkingserious added the difficulty: unknown or n/a fix is unknown in difficulty label Sep 29, 2018
thinkingserious added a commit that referenced this issue Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: unknown or n/a fix is unknown in difficulty type: non-library issue API issue not solvable via the SDK
Projects
None yet
Development

No branches or pull requests

3 participants