A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

MAPIMESSAGE Setting Sensitivity to Confidential



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 26th 06, 06:20 AM posted to microsoft.public.outlook.program_vba
Ian Fry
external usenet poster
 
Posts: 1
Default MAPIMESSAGE Setting Sensitivity to Confidential

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.
Ads
  #2  
Old July 26th 06, 02:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default MAPIMESSAGE Setting Sensitivity to Confidential

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.

  #3  
Old July 26th 06, 02:23 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default MAPIMESSAGE Setting Sensitivity to Confidential

The flags won't help you. Here's a definition enum of the message flags.

Public Enum MapiMessageFlags
MAPI_UNREAD = &H1
MAPI_RECEIPT_REQUESTED = &H2
MAPI_SENT = &H4
End Enum

I haven't seen anything about setting the property you want unless you use
actual Outlook automation and not simple MAPI. Those are the only flag
values defined in MAPI.H.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"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.


  #4  
Old July 26th 06, 03:41 PM posted to microsoft.public.outlook.program_vba
Ian Fry
external usenet poster
 
Posts: 3
Default MAPIMESSAGE Setting Sensitivity to Confidential

Thanks Ken.
I saw that and worked on the principle that somebody knew what &H3 would
control etc.

"Ken Slovak - [MVP - Outlook]" wrote:

The flags won't help you. Here's a definition enum of the message flags.

Public Enum MapiMessageFlags
MAPI_UNREAD = &H1
MAPI_RECEIPT_REQUESTED = &H2
MAPI_SENT = &H4
End Enum

I haven't seen anything about setting the property you want unless you use
actual Outlook automation and not simple MAPI. Those are the only flag
values defined in MAPI.H.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"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.



  #5  
Old July 26th 06, 03:53 PM posted to microsoft.public.outlook.program_vba
Ian Fry
external usenet poster
 
Posts: 3
Default MAPIMESSAGE Setting Sensitivity to Confidential

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.


  #6  
Old July 26th 06, 03:57 PM posted to microsoft.public.outlook.program_vba
Ian Fry
external usenet poster
 
Posts: 3
Default MAPIMESSAGE Setting Sensitivity to Confidential

The link that I received via email to rate the response throws an error.
I rate this response as
- excellent in terms of speed of response
- accepted as a resolution to my request
Thanks
Ian

"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.


  #7  
Old July 26th 06, 04:13 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default MAPIMESSAGE Setting Sensitivity to Confidential

Extended MAPI, maybe, but MAPISendMail is Simple MAPI and supports only a very small feature set. Extended MAPI requires C++ or Delphi, so it wouldn't fit your requirements.

--
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" wrote in message ...
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.

"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.


  #8  
Old July 27th 06, 06:13 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default MAPIMESSAGE Setting Sensitivity to Confidential

Am Wed, 26 Jul 2006 07:41:01 -0700 schrieb Ian Fry:

Regarding the Enum values Ken wrote &H3 would be:
&H1 OR &H2

That is, both flags are set.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Thanks Ken.
I saw that and worked on the principle that somebody knew what &H3 would
control etc.

"Ken Slovak - [MVP - Outlook]" wrote:

The flags won't help you. Here's a definition enum of the message flags.

Public Enum MapiMessageFlags
MAPI_UNREAD = &H1
MAPI_RECEIPT_REQUESTED = &H2
MAPI_SENT = &H4
End Enum

I haven't seen anything about setting the property you want unless you

use
actual Outlook automation and not simple MAPI. Those are the only flag
values defined in MAPI.H.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"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.



  #9  
Old July 27th 06, 04:26 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default MAPIMESSAGE Setting Sensitivity to Confidential

Michael is correct, in any of those bit flag type enums you always have
succeeding enum members move up in value by the next power of 2. Think of
those values as bits in a word, not as hex values.

Long story short, Simple MAPI doesn't support message flags such as
sensitivity.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael Bauer" wrote in message
...
Am Wed, 26 Jul 2006 07:41:01 -0700 schrieb Ian Fry:

Regarding the Enum values Ken wrote &H3 would be:
&H1 OR &H2

That is, both flags are set.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSOL2000 - Importing .pst from IMO setting to Workgroup setting Zean E Outlook - Installation 2 July 23rd 06 11:06 AM
Program button for sensitivity [email protected] Outlook and VBA 1 March 23rd 06 05:36 AM
Program button for sensitivity MQCarpenter Outlook - Using Forms 0 March 22nd 06 06:04 PM
Changing the Sensitivity default from Normal to Confidential for Outlook Appointments tvgdfw Outlook - General Queries 0 March 22nd 06 12:25 AM
Change Sensitivity dthmtlgod Outlook and VBA 3 January 20th 06 06:46 PM


All times are GMT +1. The time now is 08:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.