test-smtp-server
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "test-smtp-server", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "The test-smtp-server package allows internal testing of projects needing an SMTP server.", | ||
@@ -5,0 +5,0 @@ "main": "./build/lib/test-smtp-server.js", |
@@ -23,3 +23,4 @@ # Test SMTP Server | ||
See [test code](https://github.com/webstech/test-smtp-server/test/index.ts) for an example. | ||
See [test code]( | ||
https://github.com/webstech/test-smtp-server/blob/main/test/index.ts) for an example. | ||
@@ -63,8 +64,10 @@ ```js | ||
The server is started as secure but that may not be possibly in the tesing | ||
The server is started as secure but that may not be possibly in the testing | ||
environment. If the server does not have a valid certificate, the connection | ||
will fail from the client side. Some clients (e.g. nodemailer/SMTP-Transport options) | ||
allow connections to non-secure servers. Node allows connections through an | ||
environment variable that turns off certificate authorization chaecking. See | ||
[node_tls_reject_unauthorizedvalue](https://nodejs.org/api/cli.html#node_tls_reject_unauthorizedvalue) | ||
will fail from the client side. Some clients | ||
(e.g. nodemailer/SMTP-Transport options) allow connections to non-secure | ||
servers. Node allows connections through an | ||
environment variable that turns off certificate authorization checking. See | ||
[node_tls_reject_unauthorizedvalue]( | ||
https://nodejs.org/api/cli.html#node_tls_reject_unauthorizedvalue) | ||
for more information. This may be insecure if other ports are used. | ||
@@ -71,0 +74,0 @@ |
12220
76