This node module allows you to quickly and more easily generate SendGrid X-SMTPAPI headers.
All updates to this module is documented in our CHANGELOG.
Update your environment with your SendGrid credentials. (if you will be sending via nodemailer or other SMTP transport)
echo "export SENDGRID_USERNAME='YOUR_USERNAME'" > sendgrid.envecho "export SENDGRID_PASSWORD='YOUR_PASSWORD'" >> sendgrid.envecho "sendgrid.env" >> .gitignoresource ./sendgrid.env
Add the following to your
Install smtpapi-nodejs and its dependencies:
var smtpapi = ;var header = ;header;header;console;
If you are intersted in the future direction of this project, please take a look at our milestones. We would love to hear your feedback.
We encourage contribution to our projects, please see our CONTRIBUTING guide for details.
smtpapi-nodejs is guided and supported by the SendGrid Developer Experience Team.
smtpapi-nodejs is maintained and funded by SendGrid, Inc. The names and logos for smtpapi-nodejs are trademarks of SendGrid, Inc.
![SendGrid Logo] (https://uiux.s3.amazonaws.com/2016-logos/email-logo%402x.png)