Skip to content

Space added in substitution value #77

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

Closed
dennyriadi opened this issue Nov 14, 2017 · 3 comments
Closed

Space added in substitution value #77

dennyriadi opened this issue Nov 14, 2017 · 3 comments
Labels
difficulty: unknown or n/a fix is unknown in difficulty type: non-library issue API issue not solvable via the SDK

Comments

@dennyriadi
Copy link

Issue

So I am following the example code in the repo and attempt to send email to multiple recipients using multiple substitution values like so:

header.setTos(['[email protected]', '[email protected]', ....);
header.addSubstitution('{{token}}', ['...', '...', '1fccc78932657d7d024521eee12a90', '...']);

The emails are being delivered successfully but the tokens are sometimes set randomly with space around it (e.g. "1fccc78932657d7d024521 eee12a90")

Checked the actual payload being sent to the server and I can verify that the token values do not contain spaces.

Technical details:

  • smtpapi-nodejs Version: 1.3.1
  • Node.js Version: 6.x.x
@dennyriadi
Copy link
Author

Maybe related to this sendgrid/sendgrid-php#37 ?

@thinkingserious thinkingserious added status: help wanted requesting help from the community type: question question directed at the library labels Nov 28, 2017
@thinkingserious
Copy link
Contributor

Hi @dennyriadi,

I don't think issue #37 is related.

I believe this issue is best supported by our support team as I don't believe this is a SDK/library level issue.

Thanks!

With Best Regards,

Elmer

@thinkingserious thinkingserious added type: non-library issue API issue not solvable via the SDK and removed status: help wanted requesting help from the community type: question question directed at the library labels Mar 6, 2018
@thinkingserious thinkingserious added the difficulty: unknown or n/a fix is unknown in difficulty label Sep 29, 2018
@eshanholtz
Copy link
Contributor

Closing as this was marked as a non-library issue.

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