Outlook Gurus: Can this be done?

  • Thread starter Thread starter Sanjay Singh
  • Start date Start date
S

Sanjay Singh

I have tried everything that I can think of. Hope someone out there can
help:

I want to add some "hidden" information to an e-mail when the user clicks
Send. I will use this information later in code when the e-mail ends up in
the Sent Items folder.

I have managed to do this by adding a user-defined field to the e-mail and
this works (almost) perfectly. The problem is that when the user (who
receives the e-mail) prints it out, the contents of the user-defined field
also gets printed. This can get a little confusing for the user.

My question therefore is:
Is there anyway to add some information to the e-mail that is hidden from
both the sender and the recipient?
OR
Is there anyway to strip the user-defined field from the copy that the
recipient receives while not deleting it from the copy that ends up in the
Sent Items folder (I can delete the hidden info from the Sent Items folder
later using code).

Thanks in advance
Sanjay
 
The only way that I can see to get around this is to not add the field to the
outgoing message, but retrieve the copy that's saved in the Sent Items folder
and add it there.
 
I haven't looked: If you add an X-header to the message with CDO or
Redemption, does the copy in Sent Items reflect it?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I could be wrong, but can't you just: -
* deselect the field option "Include this field for Printing and Save As" on
the Validation tab??
* deselect the field property "Visible" on the Display tab?

This way, the field can be visible or not on both the composed and sent
e-mail, and it will not print out.
 
X-headers are never shown directly unless you use View | Options or look at
the MAPI property PR_TRANSPORT_MESSAGE_HEADERS.
 
Back
Top