Run the following commands in the terminal:
- Run
cd ~/workspace/sendgrid-nodejs-example - Run
cp .env.example .env - In the
.envfile, replaceSENDGRID_USERNAMEto your Sendgrid Username - In the
.envfile, replaceSENDGRID_PASSWORDto your Sendgrid Password - In the
.envfile, replaceTOto your email address - Run
node sendgrid-nodejs-example.js