Thanks for the tip, Simon, but unfortunately it doesn't work; it says "The 
interface name 'MailItem' does not appear in the same library as object 
'<win32com.gen_py.Microsoft Outlook 11.0 Object Library._DocumentItem 
instance at 0x29912600>"

Anything else I could try?

Cheers,
g




"Simon Brunning" <[EMAIL PROTECTED]> schreef in bericht 
news:[EMAIL PROTECTED]

Well, I don't know anything about Outlook's COM interface, so I don't
know if this will work, but you might try win32com.client.CastTo().
Something like:

my_MItem = win32com.client.CastTo(my_DItem, 'MItem')

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/ 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to