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

20 Commits

Author SHA1 Message Date
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
Dave Conway-Jones
c3a5716fe7
Let email node be able to send blank topic
and let msg.description be " also
to close #959
2022-11-08 13:52:37 +00: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
14983c9722
mail - check attachment valid contents if possible
to close #728
2021-01-12 12:41:41 +00:00
Dave Conway-Jones
14087a9f77
Add MTA node to email 2020-10-19 12:24:18 +01: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
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
4679077760
Make extra node names more consistent i18n wise 2018-03-30 14:50:51 +01: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
47520ea5aa email node - put description before attached file. 2017-04-03 18:02:17 +01:00
Yohann Ciurlik
8e001fcd45 Adding No Auth support to social email out node (#277)
* Let email out node connect to SMTP without authentication

Add the possibility to connect to local SMTP without authentication.

* Adapt test to connect to SMTP without credentials

Adapt test to connect to SMTP without credentials

* Add coverage for social email out node

Add coverage for social email out node

* Add more coverage to email out node

Add more coverage to email out node
2017-02-15 18:33:05 +00:00
Neil Kolban
3107080b19 Email rework (#195)
* Rework of Node-RED email nodes
2016-04-20 19:47:23 +01:00
Nick O'Leary
7d011dac99 Add i18n content for moved core nodes 2015-06-16 10:36:19 +01:00