Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you plan to use TLS ? #75

Open
micktaiwan opened this issue Jan 9, 2020 · 2 comments
Open

Do you plan to use TLS ? #75

micktaiwan opened this issue Jan 9, 2020 · 2 comments

Comments

@micktaiwan
Copy link

@GreenPioneer
Do you plan to implement an option to use TLS while sending an email ?

See
https://nodemailer.com/smtp/
secure – if true the connection will use TLS when connecting to server.

@zavr-1
Copy link

zavr-1 commented Jan 22, 2020

the client does have tls upgrade

node-sendmail/sendmail.js

Lines 199 to 217 in f8f5666

sock = connect(
opts,
() => {
sock.on('data', function (chunk) {
data += chunk;
parts = data.split(CRLF);
const parts_length = parts.length - 1;
for (let i = 0, len = parts_length; i < len; i++) {
onLine(parts[i])
}
data = parts[parts.length - 1]
});
sock.removeAllListeners('close');
sock.removeAllListeners('end');
return;
}
);

@micktaiwan
Copy link
Author

I do not see the relevance of the code you sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants