Skip to content

Instantly share code, notes, and snippets.

View phuthuycoding's full-sized avatar

Quyền phuthuycoding

View GitHub Profile
@phuthuycoding
phuthuycoding / MailJet Node Send.js
Created March 5, 2025 06:36 — forked from caco0516/MailJet Node Send.js
A little example of how to send emails with MailJet Node.js module.
// This calls sends an email to one recipient.
var mailjet = require ('node-mailjet')
.connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE)
var request = mailjet
.post("send")
.request({
"FromEmail": "caco0516@gmail.com",
"FromName": "noreply@growposapp.com",
"Subject": "Bienvenido a Grow POS",
"MJ-TemplateID": "103446",