message replace

Add-in Express™ Support Service
That's what is more important than anything else

message replace

Posts: 67
Joined: 2016-08-17
you said:
"You can only modify the e-mail body and save it."

if i read the message "The miao is black"
and then disable my add-in,

the message is saved and remains:

"The miao is black"

Can you explain how?
Posted 18 Aug, 2016 05:28:19 Top
Andrei Smolin

Add-in Express team

Posts: 14976
Joined: 2006-05-11
In Outlook 2007+, you get a mail item, call TMailItem.GetInspector, call Inspector.WordEditor, cast it to Word.Document, and use the Word object model to replace "cat" with "miao"; see e.g. The last step is to save the item: TMailItem.Save. The Outlook object model is given at

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 18 Aug, 2016 05:41:27 Top