venu madhav wrote:
>
> Here is the code:
>
> rom win32com.client import Dispatch
>
> session = Dispatch("MAPI.session")
> session.Logon('outlook') # MAPI profile name
> inbox = session.Inbox
> for i in range(inbox.Messages.Count):
> message = inbox.Messages.Item(i + 1)
> f.write(message.Subject+"\n\n")
> f.write(message.Body+"\n\n\n")
>
> Hope you could get some idea based on this..
I believe you want the "Text" property, not the "Body" property.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32