@weijingwei/email 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -82449,7 +82449,7 @@ function createConfigFromInput(input) {
|
|
|
82449
82449
|
smtp: {
|
|
82450
82450
|
host: input.smtp_host,
|
|
82451
82451
|
port: input.smtp_port ?? 587,
|
|
82452
|
-
secure: input.smtp_secure ??
|
|
82452
|
+
secure: input.smtp_secure ?? input.smtp_port === 465,
|
|
82453
82453
|
username: input.smtp_username,
|
|
82454
82454
|
password: input.smtp_password,
|
|
82455
82455
|
from_address: input.from_address,
|
package/dist/cli.js
CHANGED
|
@@ -65530,7 +65530,7 @@ function createConfigFromInput(input) {
|
|
|
65530
65530
|
smtp: {
|
|
65531
65531
|
host: input.smtp_host,
|
|
65532
65532
|
port: input.smtp_port ?? 587,
|
|
65533
|
-
secure: input.smtp_secure ??
|
|
65533
|
+
secure: input.smtp_secure ?? input.smtp_port === 465,
|
|
65534
65534
|
username: input.smtp_username,
|
|
65535
65535
|
password: input.smtp_password,
|
|
65536
65536
|
from_address: input.from_address,
|