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