How to read emails from Gmail in Qt

  • I try to search on the internet for a qt library or project that I can send and fetch the emails on my Gmail account but
    the only thing I found is how to send only and I try it and works fine for me now
    I ask how can I get emails from a Gmail account.
    if there is a library or a project which is easy to use to solve this
    and help me get my emails from Gmail account and use it in my application
    Thanks in Advance

  • Qt Champions 2018

    What you need is just an IMAP client, QSslSocket documentation has an example on how to connect to an IMAP server.
    VMime is a C++ library to handle IMAP, alternatively, Trojita is a Qt based IMAP client application so you can probably steal most of the code from there

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.