1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

40 Commits

Author SHA1 Message Date
Dave Conway-Jones
8320571630
Fix defaulting of email auth value (and linting) 2023-03-27 20:34:46 +01:00
wooferguy
9a57958a1e
XOAuth2 for Email-In node (#975)
* Update PULL_REQUEST_TEMPLATE.md

* Add new UI elements to Email In node

Locale for en-US
Added Auth type and Token field to Email IN
Dynamically appear based on selection

* XOAUTH2 IMAP

Minor UI changes. Exposing only XOAuth2. Picks up raw access token from input message specified.

Only works for IMAP
Token formatted by node for Exchange and GMail, won't work on other providers.
Only works on trigger, not timer

TODO:
Add POP XOAUTH2 capability
Add SMTP XOAUTH2 capability
Add option to pass SASL XAOUTH2 token rather than raw OAUTH2 token

* SASL Format

Added checkbox to turn off SASL formatting if the user wants to do this themselves

* XOAuth2 forces input

Using XOauth2 forces triggered node, and automatic trigger sets auth to basic;
XOAuth2 needs token from flow

* Error reporting

Password missing error only occurs if set to basic authentication.

Token missing only occurs if set to XOAuth2.

* Unit tests

Make sure basic authentication is selected by default, and that an additional input is created and timed triggers are turned off for XOauth2

* Cleanup and README

Remove old code, update readme

* XOauth2 IMAP Release

Prevent XOAuth2 being used for POP. Update PR Template.
Updated help file.
Bumped version to 1.19-beta

* Update POP3 dependency

Removed dependency to poplib.js, moved to node-pop3. Re-wrote checkPOP3 function asynchronously using the new library. Added some node.status changes to mimic IMAP behaviour.

* XOAUTH2 POP3

Added checking for authentication type to allow XOauth2 tokens to be sent to POP server. Turned off UI restrictions for this functionality.

* XOAUTH2 POP3 Release

Updated help docs and version to reflect changes.

* Add new UI elements to Email Out node

Add option for XAouth2 for SMTP node

* XOAUTH2 SMTP

Exposing functionality for OAuth2 through Nodemailer. Added some error reporting if credentials are missing to match the Email-In node.

* XOAUTH2 SMTP Release

Updated help file to reflect changes.

* Unit Tests for Email Out

Modified tests to allow these unit tests to pass, but does not address the fault caused by the Node Test Helper - credentials only loaded after the flow has been loaded.

---------

Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2023-03-27 20:27:47 +01:00
David D'Hauwe
13b839cfda
Smtp server security note and hide unrelevant fields (#924)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored

* email-mta added note for port security
hide fields when not relevant
2022-06-14 22:13:16 +01:00
David D'Hauwe
0fa0816506
Smtp server (#923)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored
2022-06-10 10:14:38 +01:00
Dave Conway-Jones
761bb30ada
Email node - better handling of criteria errors 2021-07-16 14:41:12 +01:00
Dave Conway-Jones
0d1a41f18a
clarify email node tls? option flag 2021-05-11 09:22:09 +01:00
Dave Conway-Jones
246463752e
Add StartTLS option to email node 2021-04-15 10:32:40 +01:00
HiroP0
13d534ee54
added support for imap 'autotls' option to 'email in' node (#796)
* added support for imap 'autotls' option to 'email in' node
2021-04-14 17:28:03 +01:00
Dave Conway-Jones
14087a9f77
Add MTA node to email 2020-10-19 12:24:18 +01:00
Dave Conway-Jones
90a00279c0
add note re criteria to email in node
and change x-red to html
2020-01-28 18:15:28 +00:00
Kazuhito Yokoi
870a2146c0 Move English help to en-US directory (#592)
* Move English help about e-mail node to en-US directory

* Move English help about rbe node to en-US directory

* Move English help about tail node to en-US directory

* Move English help about twitter node to en-US directory

* Move English help about feedparse node to en-US directory

* Move English help about sentiment node to en-US directory
2019-12-05 21:18:59 +00:00
Dave Conway-Jones
6682320c97
Add gmail access info to readme and info 2019-08-29 15:49:38 +01:00
Dave Conway-Jones
88ee43186c
update email info to match actual implementation. 2019-06-14 16:37:31 -04:00
Luis Mario Domenzain
16130362fc email optionally uses criteria from message (#547)
* email optionally uses criteria from message

Allows for generation of detailed queries through flows when triggering an email
fetch in IMAP.

* use the same default as a new email node

When the criteria is set from a message, if there is no criteria use the same default as a new node.
2019-05-29 12:45:54 +01:00
Luis Mario Domenzain
75f9db8d8b add to email threading headers (#542)
and update documentation in all available locales

nodemailer already supports all of:
- msg.replyTo
- msg.inReplyTo
- msg.references
2019-05-21 19:30:32 +01:00
Dave Conway-Jones
b08b12865b
Fixup email PR and push to npm 2019-02-11 20:10:31 +00:00
Wolfgang Rathgeb
aa684240d8 add option to set criteria witch type of emails should be requested (#519) 2019-02-11 19:26:45 +00:00
Dave Conway-Jones
2c8e4780e1
Allow email node to fetch node if required
to close #513
2019-01-31 21:00:31 +00:00
Schreck1985
45e4c6d9d4 Node red mail usetls (#480)
* Default value for tls, checking if tls is set to false
2018-08-22 13:57:42 +01:00
Nick O'Leary
f033a383b9
Ensure email refresh interval doesn't exceed setInterval limit 2018-04-16 13:35:05 +01:00
Dave Conway-Jones
025f97206f
tidy some labels 2018-04-14 22:43:14 +01:00
Dave Conway-Jones
4679077760
Make extra node names more consistent i18n wise 2018-03-30 14:50:51 +01:00
Dave Conway-Jones
74d51f5a79
Tiny tidy of email node
really needs a proper re-write…
2018-03-20 19:04:42 +00:00
Kazuhito Yokoi
c6f8b7ee76 Modify messages in e-mail node to refer to language files (#343)
thanks @kazuhitoyokoi
2017-07-12 18:16:43 +01:00
Dave Conway-Jones
367237d946 Let email out node set secure connection explicitly
to close #1148
2017-02-13 22:43:43 +00:00
Dave Conway-Jones
a0b95fe659 set email default to read (as was previously happening) 2016-12-12 21:14:32 +00:00
Dave Conway-Jones
0d0df5cef9 Add to, cc and bcc fields to incoming msg
To close #258 and to fix #260
2016-12-12 21:10:36 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
677864482e Bump email node version 2016-08-03 09:01:28 +01:00
Mike Sparr
17255b7bbf Fixed #222 - RFC error with invalid FROM address with userid conf (#223)
* Fixed #222 - RFC error with invalide FROM address forcing userid config value

* Added user help text for #222 fix and pull request

* Fixing tab spacing for #222 fix before pull request acceptance
2016-08-03 08:55:39 +01:00
Dave Conway-Jones
b6f45ef8d4 Add cc and bcc options to email node
to close #209
2016-06-03 16:14:20 +01:00
Dave Conway-Jones
b23cf0b788 add envelope to email node options
as part of node-red#875
2016-05-19 10:13:47 +01:00
Neil Kolban
3107080b19 Email rework (#195)
* Rework of Node-RED email nodes
2016-04-20 19:47:23 +01:00
Dave Conway-Jones
734fbe2adb Add mention of SSL to email nodes info 2016-02-26 22:01:04 +00:00
Dave Conway-Jones
c60d62f27b update social nodes info 2016-02-12 14:05:10 +00:00
Dave Conway-Jones
f385c13d44 bump package versions of i18n nodes
twitter, feed parser, email, and rbe
2015-07-14 23:03:46 +01:00
dceejay
ba0e2c3796 Merge linting error fixes into i18n branch of n-r-n 2015-06-16 14:38:36 +01:00
Nick O'Leary
da209a6b66 Update core nodes to pull common msgs from node-red ns 2015-06-16 11:16:29 +01:00
Nick O'Leary
7d011dac99 Add i18n content for moved core nodes 2015-06-16 10:36:19 +01:00
dceejay
374a8efbf6 add email node to node-red-nodes, fix lint etc 2015-06-13 18:53:02 +01:00