[wxPython-users] DnD of emails...

Jürgen Kareta python at kareta.de
Tue Mar 13 03:21:49 PDT 2007


Andrea Gavana schrieb:

> Hi All,
>
>    I am about to finish my latest software, and a colleague of mine
> asked if it is possible to save to our database also the emails we
> sent to partners and colleagues, just to have reference for the
> future.
> So, I thought to add to my wx.ListCtrls also the DnD capability, which
> works pretty well *except* for Outlook messages. The only thing I can
> retrieve is the subject, date sender and receiver(s), nothing more.
> But you can do this also using the wxPython demo under DragAndDrop =>
> drag an email to the MyTextDropTarget and you get the same result.
> So, I know I am asking an unsual question, but has anyone ever tried
> to DnD an Outlook message and retrieve also the body of the mail? Does
> anyone have a suggestion on where I should look for that? Google was
> not very helpful.
>
> Thank you for your hints.
>
> Andrea.
>
> "Imagination Is The Only Weapon In The War Against Reality."
> http://xoomer.virgilio.it/infinity77/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
>
Hi Andrea,

the mapi interface could be your friend. The pywin32 extension has a 
mapi module. You will find a lot of examples in C and  VB about mapi on 
the net. There is also an excellent book 'Inside Mapi' Autors: Irving De 
la Cruz and Les Tahler, but that is not available anymore. Maybe you can 
do a 'remote lending ' from a library (don 't know how the right term in 
english, but in Germany there is a service SUBITO were you can lend many 
books from university libraries, which ships the book to you and all you 
have to do is to ship it back and pay  the shipping costs). That was  
the way  I got this book two years ago.

regards,
Jürgen




More information about the wxpython-users mailing list