This tool can be used to quickly and easily send emails using SendGrid API v3 using NodeJs.
- Insert the file name in the
base64.jsthat you want to send as an attachment. Run the script. A new file named attachment.txt will be created. - In
mail.js, put the filename of the attachment. Content type field is optional. - Step 1-3 can be skipped if no attachment is to be sent.
- Insert the recipients' email ids in
emails.txt. - Run
nodejs mail.jsto send mails.