sendgrid-nodejs-example icon indicating copy to clipboard operation
sendgrid-nodejs-example copied to clipboard

Changes needed for compatability with sendgrid 1.0.0-rc.1.0

Open gcullins opened this issue 12 years ago • 1 comments

Hello,

There are a few minor changes to the method calls in sendgrid-nodejs-example.js that need to be made so that this is compatible with sendgrid 1.0.0-rc.1.0:

...
email.addSubstitution("%how%", "Owl");
email.addHeader({'X-Sent-Using': 'SendGrid-API'});
email.addHeader({'X-Transport': 'web'});
...

Everything works well with the changes above.

gcullins avatar Jan 03 '14 19:01 gcullins

Thanks for this gcullins. I'll look at this as soon as I can.

motdotla avatar Jan 03 '14 19:01 motdotla