Results 1 to 9 of 9

Thread: SMTP Client for Qt

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Cool SMTP Client for Qt

    Hi all,

    I was created a small library: SmtpClient for Qt. The SmtpClient for Qt is small library written for Qt 4 (C++ version) that allows application to send complex emails (plain text, html, attachments, inline files, etc.) using the Simple Mail Transfer Protocol (SMTP).

    Homepage: https://github.com/bluetiger9/SmtpClient-for-Qt

    SMPT Client for Qt currently supports:
    • TCP and SSL connections to SMTP servers
    • SMTP authentication (PLAIN and LOGIN methods)
    • sending MIME emails (to multiple recipients)
    • plain text and HTML (with inline files) content in emails
    • multiple attachments and inline files (used in HTML)
    • different character sets (ascii, utf-8, etc) and encoding methods (7bit, 8bit, base64)
    • error handling


    Examples: https://github.com/bluetiger9/SmtpCl.../wiki/Examples

    A print-screen of an email sent using this library:


    Any ideas or suggestions are welcomed.

    Enjoy.

  2. The following user says thank you to bluetiger9 for this useful post:

    tpf80 (2nd August 2012)

  3. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: SMTP Client for Qt

    Great work!. Many would benefit.

  4. #3

    Default Re: SMTP Client for Qt

    thx,that's what i need

  5. #4
    Join Date
    Feb 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: SMTP Client for Qt

    good job i need it THX

  6. #5
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: SMTP Client for Qt

    Wow nice code you provided!

    Do you plan to upgrade it to support TLS in addition to SSL

  7. #6
    Join Date
    Feb 2012
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: SMTP Client for Qt

    Go morning, How I use SMTP Client for Qt but I dont Know how I cant make multiple types of recipients (to, cc, bcc) pleace somebody cant help me

  8. #7
    Join Date
    Jun 2013
    Posts
    2
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: SMTP Client for Qt

    Nice surprise about this shorter form. Can you tell us what it is you are talking/writing about?Has any info. about this shorter form been posted before (and i just missed it)?

  9. #8
    Join Date
    Sep 2013
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: SMTP Client for Qt

    thanks . its use ful for me

  10. #9
    Join Date
    Sep 2013
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: SMTP Client for Qt

    I've got your smtp code running great, but have an interesting problem. I send an email right on app start and stop. The start email always goes out, but the stop email does not. I was wondering if you are running the smtp send code in a thread?

    If so, any wait make the send function wait for completion? (synchronous)?

    Also, is there a list of functions and parameters?
    Last edited by ocgltd; 16th October 2013 at 05:17.

Similar Threads

  1. How to implement Smtp Protocol
    By psycho in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2009, 16:01
  2. SMTP: how to request confirmation?
    By Raccoon29 in forum General Programming
    Replies: 2
    Last Post: 28th January 2009, 16:41
  3. SMTP tag for attaching file
    By joseph in forum General Programming
    Replies: 11
    Last Post: 10th July 2007, 05:41
  4. Using TLS to secure an SMTP connection
    By Shadowfiend in forum Qt Programming
    Replies: 8
    Last Post: 29th January 2006, 01:57
  5. SMTP & Attachments
    By cioannou in forum General Programming
    Replies: 2
    Last Post: 26th January 2006, 13: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.