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-06 22:04:13 -06:00
parent 6b011a4a3e
commit 567bbd7f37

@ -34,6 +34,8 @@ __Question__: Is the email message retrieved via IMAP and POP3 the same format/c
__Question__: For POP3 clients, is it acceptable to delete/destroy a message once received and processed?
__Question__: For attachments, how should the attachment be stored in the attachments array?
---
### Related forum posts and issues:
@ -87,4 +89,10 @@ client.on("dele", function(...) {
});
```
* What does the response from a POP3 'list' request look like?
* What does the response from a POP3 'list' request look like?
The event for `list` contains status, msgCount, msgNumber and data. Of these, examination seems to show that the important one is `msgCount`. This is the number of messages in the mailbox. If 0, then there are no messages.
* What does the response from a POP3 `retr` request look like?
The event for `retr` contains status, msgNumber and data. The data is the body of the email ... this is truly the whole body and includes headers and payload.