I get an issue using SENDMAIL
on Ubuntu.
All emails are going into the SPAM folder. I'm using NodeJS and the Nodemailer module.
My code :
var transporter = nodemailer.createTransport({
sendmail: true,
newline: 'unix',
path: '/usr/sbin/sendmail'
});
transporter.sendMail({
from: "[email protected]",
to: "[email protected]",
subject: "test",
html: "test"
});