emailjs / emailjs-imap-client

Low-level JS IMAP client for all your IMAP needs.
MIT License
552 stars 123 forks source link

Upload and Copy now return the uids of new message instances. #227

Closed gudmundurg74 closed 4 years ago

gudmundurg74 commented 4 years ago

The response object returned from exec contains the uids but the functions were not exposing them. They are necessary to be able to create client side imap data entries without having to do selectMailbox+listMessages.

gudmundurg74 commented 4 years ago

The RFC https://tools.ietf.org/html/rfc3501 says "Responses: no specific responses for this command" for both COPY and APPEND commands. Will this work in general?

So these responses are defined in https://tools.ietf.org/html/rfc4315. I will update the parser functions and documentation to make sure they allow for missing data in the responses.