![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |