@weijingwei/email 1.0.2 → 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 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 ?? false,
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 ?? false,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weijingwei/email",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Email MCP Server - SMTP/IMAP email operations via MCP protocol",
5
5
  "main": "dist/bundle.js",
6
6
  "bin": {