Hi Guys,

This should be dead simple.

I am just trying to find a list of all of the key value pairs held for each
message.


These are the ones that I have found so far:

   - subject
   - SenderName
   - Recipients
   - TaskDueDate

I am using this simple code snippet

import win32com.client

outlook =
win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI")

inbox = outlook.GetDefaultFolder(6) # "6" refers to the index of a folder -
in this case,
                                    # the inbox. You can change that number
to reference
                                    # any other folder
messages = inbox.Items
message = messages.GetLast()

then doing this for eample:


for message in messages:
    print message.TaskDueDate


i was wondering what else I can get access to for a message?

many thanks in advance,

Aaron

-- 
Aaron Reabow
+27 83 649 7567
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to