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

perform simple data sanitization #246

Open
crobinson42 opened this issue Nov 3, 2019 · 1 comment
Open

perform simple data sanitization #246

crobinson42 opened this issue Nov 3, 2019 · 1 comment

Comments

@crobinson42
Copy link

When calling send(...) with an email address that has whitespace ie: myname@gmail.com this error is returned:

... [ { message: 'At least one valid recipient is required', code: 5002 } ],statusCode: 400 } ...

This can go both ways as far as whos's responsibility it is but it would be nice if the node-sparkpost pkg (or even the sparkpost backend) handled simple data sanitization's.

@crobinson42
Copy link
Author

node-sparkpost npm pkg 2.1.4

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