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-14 21:32:59 -05:00
parent cc35c8c371
commit 3b3f41b9ed

@ -153,6 +153,10 @@ client.on("retr", function(...) {
client.on("dele", function(...) {
});
```
* How do we flag IMAP messages?
When we open an inbox we get back a list of supported flags. These will include `\Deleted`, `\Seen`, `\Draft`, `\Answered` and `\Flagged`. After processing an email it will always be flagged as `\Seen` however we can also flag it as `\Deleted` or `\Answered`. Using the `imap` module, we can set flags using the `addFlags` method.
* What does the response from a POP3 'list' request look like?