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

Sending emails with unicode (e.g. æ, ø, å) fails #242

Closed
jsfr opened this issue Jun 16, 2016 · 2 comments
Closed

Sending emails with unicode (e.g. æ, ø, å) fails #242

jsfr opened this issue Jun 16, 2016 · 2 comments
Labels
status: duplicate duplicate issue

Comments

@jsfr
Copy link

jsfr commented Jun 16, 2016

Issue Summary

Trying to send an email using containing a unicode char such as æ, ø, å or € in the htmlContent results in an error with status 400 as the below response

{ statusCode: 400,
  body: '{"errors":[{"message":"Bad Request","field":null,"help":null}]}',
  headers:
   { server: 'nginx',
     date: 'Thu, 16 Jun 2016 13:20:56 GMT',
     'content-type': 'application/json',
     'content-length': '63',
     connection: 'close',
     'x-frame-options': 'DENY' } }

Steps to Reproduce

  1. Send email using the helper with a unicode char in the htmlContent e.g. æ, ø, å or €

Technical details:

  • sendgrid-nodejs Version: 3.0.4
  • Node.js Version: 6.2.1
@jsfr
Copy link
Author

jsfr commented Jun 16, 2016

Okay it seems this is fixed as of 3.0.5 (possibly related to #239 ?) so I'm closing it again

@jsfr jsfr closed this as completed Jun 16, 2016
@thinkingserious
Copy link
Contributor

@jsfr you are correct, version 3.0.5 fixed this problem. Thanks!

@thinkingserious thinkingserious added the status: duplicate duplicate issue label Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate duplicate issue
Projects
None yet
Development

No branches or pull requests

2 participants