Results 1 to 6 of 6

Thread: Simply Client E-mail (POP3)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Simply Client E-mail (POP3)

    I'm beginning computer programmer. I want to make in Qt simple e-mail client, which receives e-mails but I don't know how do it. I don't know which classes and libraries to use and how to connect to a POP3-mailserver. I'm searching for examples of network apps but I didn't find anything. Can you suggest me an easy and good example?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: Simply Client E-mail (POP3)

    QTcpSocket and RFC1939 come to mind.

    An example QTcpSocket application would be examples/network/fortuneclient in your Qt dir.

    RFC1939 can be found here: http://www.ietf.org/rfc/rfc1939.txt

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

    Altertwin (27th February 2010)

  4. #3
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: Simply Client E-mail (POP3)

    I have had a look on Fortune Client but I still don't know how to use POP3 commands in C++/Qt using QtTcpSocket - am I so stupid or is there an easier way to get such a knowledge. To be honest, I want to write a simple p2m client so I think POP3 will be not enough (some of mailservers are using IMAP protocol). Does anybody know an example of p2m-like program written with Qt? Another question: can i use external libraries freely in Qt?

  5. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: Simply Client E-mail (POP3)

    Have a look at both FortuneClient and FortuneServer. Use a QDataStream to write and read data to/from the TCP socket using Qts signals/slots mechanism.

    For IMAP, have a look at RFC3501

  6. #5
    Join Date
    Feb 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: Simply Client E-mail (POP3)

    Another question: can i use external libraries freely in Qt?


    BTW. Do you think making a p2m client using only Qt (+ plugins) is possible?

  7. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: Simply Client E-mail (POP3)

    Sure.

    [Random text so I'm actually allowed to post this message without the forum software complaining at me because it's too short otherwise]

Similar Threads

  1. Mail system
    By Tavit in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2009, 09:38
  2. Replies: 1
    Last Post: 7th January 2009, 23:10
  3. How to open user´s e-mail client
    By Althor in forum Newbie
    Replies: 2
    Last Post: 23rd October 2008, 09:39
  4. Qt mail app.
    By bunjee in forum Qt Programming
    Replies: 0
    Last Post: 27th June 2008, 17:14
  5. Opening the default mail client
    By munna in forum Newbie
    Replies: 5
    Last Post: 3rd April 2006, 13:58

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
  •  
Qt is a trademark of The Qt Company.