Thanks for that..
For your edification, what I was trying to do was cope with a situation where
a) PGP-Home had been mandated as the encryption to be used on emailing
certain information. All requests to use a higher version with command-line
ability had been denied
b) I then found that I could attach PGP-Home to Outlook so that all emails
flagged as Confidential automatically used PGP encryption. Well that is what
the PGP manual says but my first attempts didn't work
c) Ah - did I tell you I am not allowed to use any real programming like
VS2005
d) The MSAccess SendObject has no encryption ability. The actual Outlook
object in VBA doesn't give me a lot of joy either.
e) I had thought that with MAPI I could get to everything. I would also be a
little bit protected where users were running a variety of Outlook versions.
Such is the life of a long distance evangilist for Microsoft's ability to
integrate everything.
"Sue Mosher [MVP-Outlook]" wrote:
Sensitivity is a property specific to Outlook. It and other Outlook message features are not supported in Simple MAPI, AFAIK.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Ian Fry" Ian wrote in message ...
I want to set the Message option Sensitivity to Confidential from inside code
VB, VBA, VBA in MSACCESS or VBA in Excel - I don't care
The MAPISendMail of MAPI32.dll does not include an option in the MAPIMESSAGE
component.
I reckon it is probably a FLAG, but can't find a list of FLAG CODES anywhere
in the KB.