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 November 13, 2024 13:51
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: '[email protected]',
to: '[email protected]',
text: 'This is some text',
html: '<b>This is some HTML</b>',
};