I am current using the SendGrid email API with Node.js to send an email using their sample code on GitHub.
const sgMail = require('@sendgrid/mail');
sgMail.setApiKey(process.env.SENDGRID_API_KEY);
const msg = {
to: '[email protected]',
from: '[email protected]',
subject: 'Sending with Twilio SendGrid is Fun',
text: 'and easy to do anywhere, even with Node.js',
html: '<strong>and easy to do anywhere, even with Node.js</strong>',
};
sgMail.send(msg);
I would like to be able to show the delivery status of this email in my app. Is this possible using the SendGrid API and if so, how should I do this?
Thank you
