Skip to content

Instantly share code, notes, and snippets.

View enzzoperez's full-sized avatar
🐙
Stay Alive ||-//

random17 enzzoperez

🐙
Stay Alive ||-//
View GitHub Profile
@jcollado
jcollado / email.js
Last active December 4, 2025 09:44
Send email with nodemailer and AWS SES (API or STMP)
var nodemailer = require('nodemailer');
var sesTransport = require('nodemailer-ses-transport');
var smtpPassword = require('aws-smtp-credentials');
var mailOptions = {
from: 'from@example.com',
to: 'to@example.com',
text: 'This is some text',
html: '<b>This is some HTML</b>',
};