Results 1 to 4 of 4

Thread: How to open and read e-mails

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to open and read e-mails

    Hello!

    Some time ago I needed to make an app that was capable of sending e-mails to a given e-mail account. After some research I found the "SMTP Client for Qt" library in the public domain and it served my quite well for this purpose.

    What now I would like to know is how can I read e-mails sended to my software, that is, I create a e-mail account in gmail or hotmail or else "my_app@gmail.com" and than my software logs into this account and reads new e-mails it received.


    Thanks,


    Momergil

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: How to open and read e-mails

    You have to use protocols like POP3 / IMAP which ever is enabled by the email server (I guess pop.gmail.com / smtp.gmail.com), and log into the server and download the e-mails.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. The following user says thank you to Santosh Reddy for this useful post:

    Momergil (26th March 2013)

  4. #3
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to open and read e-mails

    Quote Originally Posted by Santosh Reddy View Post
    You have to use protocols like POP3 / IMAP which ever is enabled by the email server (I guess pop.gmail.com / smtp.gmail.com), and log into the server and download the e-mails.
    Thanks!

    Any practical solutions for this, though? I mean, some kind of Qt library or steps in order to implement this.

  5. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: How to open and read e-mails

    Search for "email client" at qt-apps.org
    or
    Seach for "Qt email client" using Google
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. how to use QtextEdit to open & read text files
    By joebats72 in forum Newbie
    Replies: 5
    Last Post: 27th June 2012, 22:36
  2. Replies: 1
    Last Post: 3rd January 2012, 10:25
  3. Replies: 9
    Last Post: 14th January 2011, 09:54
  4. Downloading specific mails using POP3 protocol.
    By kremuwa in forum General Programming
    Replies: 1
    Last Post: 22nd May 2010, 10:06
  5. How to open a file in Read Write mode
    By merry in forum Qt Programming
    Replies: 13
    Last Post: 16th November 2007, 14:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.