98. Fetching emails using IMAP

Write a program that can get information from an email server using IMAP. The program should be able to:

  • Get a list of folders from the mailbox
  • Get unread emails from a particular folder

Get The Modern C++ Challenge now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.