mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add StartTLS option to email node
This commit is contained in:
parent
13d534ee54
commit
246463752e
@ -128,11 +128,11 @@
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-autotls"><i class="fa fa-lock"></i> <span data-i18n="email.label.autotls"></label>
|
||||
<select type="text" id="node-input-autotls" style="width: 150px;">
|
||||
<option value="never" data-i18n="email.label.never">never</option>
|
||||
<option value="always" data-i18n="email.label.always">always</option>
|
||||
<option value="required" data-i18n="email.label.required">required</option>
|
||||
</select>
|
||||
<select type="text" id="node-input-autotls" style="width: 150px;">
|
||||
<option value="never" data-i18n="email.label.never"></option>
|
||||
<option value="required" data-i18n="email.label.required"></option>
|
||||
<option value="always" data-i18n="email.label.always"></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-server"><i class="fa fa-globe"></i> <span data-i18n="email.label.server"></span></label>
|
||||
@ -276,6 +276,10 @@
|
||||
$("#node-input-criteria").val("UNSEEN");
|
||||
this.criteria = "UNSEEN";
|
||||
}
|
||||
if (typeof this.autotls === 'undefined') {
|
||||
$("#node-input-autotls").val("never");
|
||||
this.autotls = "never";
|
||||
}
|
||||
if ($("#node-input-fetch").val() === null) { $("#node-input-fetch").val("auto"); }
|
||||
$("#node-input-fetch").change(function() {
|
||||
if ($("#node-input-fetch").val() === "trigger") {
|
||||
|
@ -16,10 +16,6 @@
|
||||
"folder": "Verzeichnis",
|
||||
"protocol": "Protokoll",
|
||||
"useSSL": "SSL",
|
||||
"autotls": "STARTTLS?",
|
||||
"never": "nie",
|
||||
"required": "wenn erforderlich",
|
||||
"always": "immer",
|
||||
"useTLS": "TLS",
|
||||
"disposition": "Behandlung",
|
||||
"none": "Keine",
|
||||
@ -33,7 +29,11 @@
|
||||
"seen": "Gesichtet",
|
||||
"unanswered": "Unbeantwortet",
|
||||
"unflagged": "Unmarkiert",
|
||||
"unseen": "Ungesehen"
|
||||
"unseen": "Ungesehen",
|
||||
"autotls": "STARTTLS?",
|
||||
"never": "nie",
|
||||
"required": "wenn erforderlich",
|
||||
"always": "immer"
|
||||
},
|
||||
"default-message": "__description__\n\nDatei von Node-RED ist angehängt: __filename__",
|
||||
"tip": {
|
||||
|
@ -16,7 +16,6 @@
|
||||
"folder": "Folder",
|
||||
"protocol": "Protocol",
|
||||
"useSSL": "Use SSL?",
|
||||
"autotls": "STARTTLS?",
|
||||
"useTLS": "Use TLS?",
|
||||
"disposition": "Disposition",
|
||||
"none": "None",
|
||||
@ -30,7 +29,11 @@
|
||||
"seen": "Seen",
|
||||
"unanswered": "Unanswered",
|
||||
"unflagged": "Unflagged",
|
||||
"unseen": "Unseen"
|
||||
"unseen": "Unseen",
|
||||
"autotls": "Start TLS?",
|
||||
"never": "never",
|
||||
"required": "if required",
|
||||
"always": "always"
|
||||
},
|
||||
"default-message": "__description__\n\nFile from Node-RED is attached: __filename__",
|
||||
"tip": {
|
||||
|
@ -16,7 +16,11 @@
|
||||
"none": "なし",
|
||||
"read": "既読",
|
||||
"delete": "削除",
|
||||
"criteriaFromMsg": "- msg.criteriaから使用 -"
|
||||
"criteriaFromMsg": "- msg.criteriaから使用 -",
|
||||
"autotls": "TLSを開始?",
|
||||
"never": "なし",
|
||||
"always": "常時",
|
||||
"required": "必要な場合"
|
||||
},
|
||||
"default-message": "__description__\n\nNode-REDからファイルが添付されました: __filename__",
|
||||
"tip": {
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "node-red-node-email",
|
||||
"version": "1.11.1",
|
||||
"version": "1.12.0",
|
||||
"description": "Node-RED nodes to send and receive simple emails.",
|
||||
"dependencies": {
|
||||
"imap": "^0.8.19",
|
||||
"poplib": "^0.1.7",
|
||||
"mailparser": "^3.1.0",
|
||||
"mailparser": "^3.2.0",
|
||||
"nodemailer": "~6.5.0",
|
||||
"smtp-server": "^3.8.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user