I took these classes and added a POP3 class, based on Wes' CSMTP class. For this, I slightly modified CMailMessage and CSMTP.
Now you can create a message in a CMailMessage class, send it using Wes' CSMTP. Or you
can retrieve mails using my CPOP3 class, which stores the mails in a CMailMessage object.
However, I still had some troubles parsing the headers of retrieved mails:
- The Cc: field can contain several lines. CPOP3 only parses the first one.
Cc: recipient1In this case, CPOP3 only finds "recipient1".
recipient2 recipient3 recipient4
- The Date: field isn't parsed at all - there are different possible date formats.
Maybe I'll add those features later ? Thanks, Wes, for the good base you provided !