Results 1 to 5 of 5

Thread: How to Drag&Drop mail item from MS Outlook to my application?

  1. #1
    Join Date
    Apr 2007
    Location
    Czech republic
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to Drag&Drop mail item from MS Outlook to my application?

    Hello,
    does anybody know, how can i read contents of mails of MS Outlook? I want to use drag&drop for mails, and store them into my application.

    i used QDropEvent and QMimeData, but the only result was, that i can get attachments(when i d&d attachments), not whole mail
    __________________
    Qt4.3.0, mingw, winxp


    honza

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to Drag&Drop mail item from MS Outlook to my application?

    I'd start with running the drop site example shipped together with Qt (examples\draganddrop\dropsite) to examine mime type and content of drag objects created by Outlook.
    J-P Nurmi

  3. #3
    Join Date
    Apr 2007
    Location
    Czech republic
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to Drag&Drop mail item from MS Outlook to my application?

    hi guys,
    i maybe found the way, how can i get data from outlook.
    ActiveQt module is the solution,,, but it is only in commercial version of Qt.
    what can i do? i use open source version of Qt.

    please, can somebody help me?

    h.

  4. #4
    Join Date
    May 2007
    Posts
    32
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to Drag&Drop mail item from MS Outlook to my application?

    Quote Originally Posted by jpn View Post
    I'd start with running the drop site example shipped together with Qt (examples\draganddrop\dropsite) to examine mime type and content of drag objects created by Outlook.
    Best variant!
    At first you must know what format has your drag/drop object.

  5. #5
    Join Date
    Apr 2007
    Location
    Czech republic
    Posts
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to Drag&Drop mail item from MS Outlook to my application?

    i tried that example..
    the output of this program was incomplete. FileContents is empty..

    when i try to d'n'd attachments of this email, FileContents is the content of the attachment. so this way is ok, but i want to d'n'd whole email, not only attachments.

    can you try this example too?

    bellow is the screenshot
    Attached Images Attached Images

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.