sendgrid-nodejs-example
sendgrid-nodejs-example copied to clipboard
Changes needed for compatability with sendgrid 1.0.0-rc.1.0
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.
Thanks for this gcullins. I'll look at this as soon as I can.