nodeSolidServer / nodeSolidServer/node-solid-server

Make nodemailer secure setting configurable

未關閉
#1,123 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
JavaScript
星號
1.8k
分支
308
PR 合併指標
30 天內沒有已合併 PR

描述

Currently the nodemailer secure setting is not configurable via command line:

https://github.com/solid/node-solid-server/blob/3d082f1c2b8cd8e8b0374b369966e723f6ec6bd4/bin/lib/init.js#L70

and

https://github.com/solid/node-solid-server/blob/3d082f1c2b8cd8e8b0374b369966e723f6ec6bd4/bin/lib/start.js#L48

true might be a good setting for port 465, but for the actually should-be used port 587 the setting should be false: http://nodemailer.com/smtp/ . Else this error appears:

https://forum.solidproject.org/t/debugging-email-sending/1375

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先閱讀 bin/lib/init.js 約第 70 行以及 bin/lib/start.js 約第 48 行附近的 nodemailer 設定,然後追蹤命令列選項的解析方式。在保留文件所述 SMTP 連接埠的預期行為的同時,讓 nodemailer 的 secure 設定可透過命令列進行設定,並在相關的啟動路徑中驗證此選項。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, node.js
領域
cli
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。