Inserting text into mail item

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

Inserting text into mail item
 
Rup Go




Posts: 64
Joined: 2007-03-01
Hi,

is there a way where i can insert a text in a mail item "permanently", meaning i need to put some hidden text such as "track0111" in an specific mail so if the user replied to the mail it will consist that track number i have inserted. if antivirus software can put their security text there most probably this is feasible right?

thanks,
Rup
Posted 12 Apr, 2007 00:50:49 Top
Rup Go




Posts: 64
Joined: 2007-03-01
oh sorry for posting this, i already did it :)

Outlook.MailItem mailObject = null;
Outlook.Inspector inspector = OutlookApp.ActiveInspector();
object item = inspector.CurrentItem;
mailObject = item as Outlook.MailItem;

mailObject.Body += "My Text";
mailObject.Save();
Posted 12 Apr, 2007 01:19:54 Top
Rup Go




Posts: 64
Joined: 2007-03-01
ok here is my question, i want to hide the text inserted in the body is this possible?
Posted 12 Apr, 2007 01:23:25 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rup.

You can use the code provided by Pierre here:
http://www.add-in-express.com/forum/read.php?FID=5&TID=2081&MID=9522#message9522


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 12 Apr, 2007 10:00:21 Top