Drag and Dropping from MS outlook to a C# form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimbo986
    New Member
    • May 2007
    • 1

    Drag and Dropping from MS outlook to a C# form

    Outlook Email drag and drop
    --------------------------------------------------------------------------------

    Problem: I need to allow my users to drag an email out of Outlook and
    drop it on a winform -- from there, I need to get the text of that
    email (not just the sender and subject) -- from there I'll save it
    myself in a database. This is to allow them to track all the
    correspondance that happens between themselves and a customer.

    I've found code examples of how to do this with an ATTACHMENT out of
    Outlook, but not the email message itself (even though several
    solutions claim to do that, they don't -- they just ignore messages and
    work great on attachments).

    Can anyone point me to where I might find such a code snippet?

    I've tried the soluction posted here:
    http://codeproject.com/csharp/TestEmailDragDr op.asp

    That works great for attachments, but doesn't work at all for the full
    email.

    Note -- I don't care about email WITH attachments...u nless they drag
    the attachment over manually, we aren't going to capture that, only the
    body text of the email -- in either text, rich text, or html format.

    Regards

    James
  • DeMan
    Top Contributor
    • Nov 2006
    • 1799

    #2
    I'm not sure whether this helps but.....
    you could use the file menu to save the email and drag it from windows explorer

    Comment

    Working...