In Python w/ Outlook 2007, using win32com and/or Active Directory, how can I change the conversation of an email? Is there a way to change the mapping of a ConversationIndex
to a ConversationTopic
?
I can successfully change the subject of a MailItem
by creating a new MailItem
, but when I view the folder in "Conversation" view mode, the new MailItem
uses the old Subject
as the conversation name.
a_mail_item.ClearConversationIndex()
doesn't seem to have an effect, even when I save the item after the call.
Doing this sequence prints the same ConversationIndex
and ConversationTopic
each time:
print item.ConversationIndex
print item.ConversationTopic
item.ClearConversationIndex()
item.Save()
print item.ConversationIndex
print item.ConversationTopic
It seems that I can manipulate some [private] interface dictionaries, though it doesn't propagate when I do the Save()
.
item._prop_map_put_['ConversationTopic']
item._prop_map_get_['ConversationTopic']