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

Updated Email (markdown)

Neil Kolban 2016-03-08 19:09:38 -06:00
parent 158b972888
commit fa733b7e16

@ -180,3 +180,8 @@ An example attachment includes:
* `mailparser` works against POP3 retrieved messages, can it work against IMAP?
Yes. Testing has shown that using the IMAP library, if we request both HEADER and TEXT parts and then invoke `mailparser.write(message)` for each message part received, we can then call `mailparser.end()` and the parsing occurs as desired. This means that both POP3 and IMAP can both leverage `mailparser`.
### Critical decisions
* Rename `header` to `headers` - The `msg.header` property contains the email headers. It is suggested that this be renamed to `msg.headers`.