Results 1 to 3 of 3

Thread: Sending Mail with attachment files

  1. #1
    Join Date
    Sep 2006
    Posts
    10
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default Sending Mail with attachment files

    Hi All,

    I need to send a mail with attachment files(more than one) through my own program.

    I didn't get any reference in the web for attaching files.

    Anybody help me ...

    Thanks.

    regards
    Joy A

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Sending Mail with attachment files

    Of course there is no particular facility in Qt for doing that. You have to do it all manually which implies:
    • finding out what the users preferred email client is
    • what arguments you have to pass to it to in order to attach a file to it (if possible at all)
    • start the email client with the mentioned arguments using QProcess::startDetached.
    Alternatively you can write your own little email client as part of your application ...

  3. #3
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Sending Mail with attachment files

    You could use some library like http://pocoproject.org/poco/info/.

Similar Threads

  1. Sending Mail
    By systemz89 in forum Qt Programming
    Replies: 11
    Last Post: 15th June 2008, 17:16
  2. sending encrypted data via mail using smtp
    By vermarajeev in forum General Programming
    Replies: 20
    Last Post: 14th August 2007, 20:47
  3. Attachment files to email (SMTP/MIME)
    By henriquez0 in forum Qt Programming
    Replies: 1
    Last Post: 30th December 2006, 21:56
  4. Sending mail using Qt
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2006, 12:17
  5. qt network performance
    By criss in forum Qt Programming
    Replies: 16
    Last Post: 24th July 2006, 10:23

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.