Results 1 to 2 of 2

Thread: Attaching file at the time of opening default email client [ Qt Desktop Service ]

  1. #1
    Join Date
    Feb 2010
    Posts
    23
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Post Attaching file at the time of opening default email client [ Qt Desktop Service ]

    Dear all,

    When I click 'email photo', the default email client should open up and the photo currently displayed in the gallery is automatically attached.

    any one have idea about this how to attach,

    i done mailto and subject but attachment is not happening automatically according to the path ?

    QDesktopServices:OpenUrl(QUrl("mailto:?subject=&bo dy=&attach="));

    he below code not working for attachment
    what wrong in that ?

    QDesktopServices::OpenUrl(QUrl("mailto:desktop@tes ting.com?subject=Desktop Software&attach=/C:/Qt /testing/release/testing1.txt&body=This is Desktop Software"));

    QDesktopServices::OpenUrl(QUrl("mailto:desktop@tes ting.com?subject=Desktop Software&attach=\C:\Qt\testing\release\testing1.tx t&body=This is Desktop Software"));

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Attaching file at the time of opening default email client [ Qt Desktop Service ]

    &attachment="..."

Similar Threads

  1. Replies: 9
    Last Post: 23rd August 2012, 00:01
  2. How to send email and attachement via default email client
    By richardander in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2009, 04:40
  3. Replies: 7
    Last Post: 5th January 2009, 08:27
  4. Opening swf file in the default browser
    By munna in forum Qt Programming
    Replies: 16
    Last Post: 5th May 2006, 09:33
  5. Opening the default mail client
    By munna in forum Newbie
    Replies: 5
    Last Post: 3rd April 2006, 13:58

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.