andris9 on v6.7.6
andris9 on smtp-verify-noauth
andris9 on master
Reject unauthenticated verify c… (compare)
andris9 on smtp-verify-noauth
Reject verify() if the server s… v6.7.6 (compare)
Can't seem to get OAuth2 working with a service account via gmail. Config looks like this:
let transport = mailer.createTransport({
service: 'Gmail',
auth: {
type: 'OAuth2',
user: 'user@cutomgmailsite.com',
serviceClient: '106...',
privateKey: '-----BEGIN PRIVATE KEY-----...',
//accessToken: '', where would I get this?
//expires: 1, where would I get this?
}
});
Hi everyone, I'm running Nodemailer 2.3.2
and I can't seem to get the filename for my attachment working. No matter what I give it, it always defaults to attachment-1.xls
Here is my attachments section ...
attachments: [
{
// _filename is 'TN_TestName_2017-04-05.xls'
filename: _filename,
content: fileBuffer,
contentType: 'application/vnd.ms-excel'
}
],
EDIT: I removed the content type and that fixed the problem
dsn
, I'm not sure how it worked, you probably should look into the SMTP client code in simplesmtp module to check it out.
contentType
resolved the issue when using a variable for filename
let transporter = nodemailer.createTransport({
host: process.env.MAIL_DOMAIN,
port: 465,
secure:true,
debug:true,
logger:true,
tls:{
rejectUnauthorized: false
},
auth: {
user: process.env.MAIL_USERNAME,
pass: process.env.MAIL_PASSWORD
}
});
master
have re-initialised the repository.. @andris9
Hi Guys,
i want to use nodemailer with sendmail but got:
{ Error: connect ECONNREFUSED 127.0.0.1:25
at Object.exports._errnoException (util.js:1018:11)
at exports._exceptionWithHostPort (util.js:1041:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
code: 'ECONNECTION',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 25,
command: 'CONN' }
telnet works
$ telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 bla@blub.tld ESMTP Postfix (Ubuntu)
iptables is configured to accept allr outgoing