var smtpConfig = {
host: 'smtp.gmail.com',
port: 465,
secure: true, // use SSL
auth: {
user: 'user@gmail.com',
pass: 'pass'
}
};
var poolConfig = {
pool: true,
host: 'smtp.gmail.com',
port: 465,
secure: true, // use SSL
auth: {
user: 'user@gmail.com',
pass: 'pass'
}
};
var directConfig = {
name: 'hostname' // must be the same that can be reverse resolved by DNS for your IP
};
references:
https://community.nodemailer.com/2-0-0-beta/setup-smtp/
host: 'smtp.gmail.com',
port: 465,
secure: true, // use SSL
auth: {
user: 'user@gmail.com',
pass: 'pass'
}
};
var poolConfig = {
pool: true,
host: 'smtp.gmail.com',
port: 465,
secure: true, // use SSL
auth: {
user: 'user@gmail.com',
pass: 'pass'
}
};
var directConfig = {
name: 'hostname' // must be the same that can be reverse resolved by DNS for your IP
};
references:
https://community.nodemailer.com/2-0-0-beta/setup-smtp/
No comments:
Post a Comment