Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodemailer

var smtpTransport = require('nodemailer-smtp-transport');

var transport = nodemailer.createTransport(smtpTransport({
    service: 'gmail',
    auth: {
        user: 'myemail@gmail.com', // my mail
        pass: 'mypassword'
    }
}));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodemailer
ADD COMMENT
Topic
Name
3+8 =