Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to read emails from Gmail in Qt
Forum Updated to NodeBB v4.3 + New Features

How to read emails from Gmail in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AmrCoderA Offline
    AmrCoderA Offline
    AmrCoder
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      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

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved