MAPIProp v.1.0


This is a free COM-component designed to read the MAPI-properties of CDO and MicrosoftdlT« OutlookdlT« Object Model objects for Microsoft Outlook 2000, 2002/XP, 2003, 2007. The component has no limitation on the data size stored in a property and it supports work with compressed properties (like PR_RTF_COMPRESSED). Usage of MAPI-properties allows one to avoid Microsoft Outlook security system prompts on the retrieval of a message sender address, message body, etc., whilst working in Visual Basic and script languages like JScript and VBScript.The component is supplied with the source code in Microsoft Visual C++ 6.0 and examples in Visual Basic .NET, Visual Basic 6.0 and Jscript.The component can be used to do the following: 1. Getting object properties without security system prompts 2. Getting properties unavailable through the Microsoft Outlook object model, e.g. Internet headers of a message 3. Getting properties not available through Microsoft Outlook object model, e.g. message body is varied presentation modes (RTF, HTML, text) For detailed guidance on how to work with MAPI-properties, see the article "How to avoid security prompts in Visual Basic programs for Outlook", we strongly recommend that you get familiar with it before you start using the component.The component methods: C++: HRESULT GetOneProp( VARIANT pObject, long propTag, VARIANT* result); HRESULT ReadStreamProp( VARIANT pObject, long propTag, BSTR* result); HRESULT ReadRTFStreamProp( VARIANT pObject, long propTag, BSTR* result); HRESULT Initialize(); HRESULT Uninitialize(); Visual Basic: Function GetOneProp ( _ pObject As Object, _ propTag As Long) As Variant Function ReadStreamProp ( _ pObject As Object, _ propTag As Long) As String Function ReadRTFStreamProp ( _ pObject As Object, _ propTag As Long) As String Sub Initialize() Sub Uninitialize()GetOnePropReturns the value of a property of CDO object or Microsoft Outlook object model. For example, a message is represented by a Message object in CDO, and by MailItem in the Microsoft Outlook object model. You can pass any of the two objects to the method. No matter what object you have passed, you can use CDO constants like CdoPR_SENDER_EMAIL_ADDRESS as the propTag value (MAPI property tag).ReadStreamPropThe method is designed to read property values of great volume like CdoPR_BODY or PR_HTML (text and HTML forms of the message presentation) as a string. This method is used because MAPI utilizes another approach to read large-volume properties (i.e. the property is opened and read through a stream).ReadRTFStreamPropThis method works like the previous one, but in addition it provides for stream decompression. For example, RTF-presentation of a message body is stored in compressed form (PR_RTF_COMPRESSED), as if you try to read it through ReadStreamProp you will get an array of binary data instead of text.Initialize and UninitializeThese two methods provide for the initialization and de-initialization of the MAPI library. If CDO is used, MAPI is initialized by the Logon method call in a CDO session, so these functions are unnecessary. If you are developing an add-in for Outlook, MAPI is usually already initialized by Outlook itself before you invoke your add-in, so you can do without invoking those functions (though invoking them wouldnd-deOaot do any harm).With Outlook automation (Outlook.Application object creation), MAPI often is not initialized even upon execution of the following code (don't confuse this with the Logon call in CDO session): Set olApp = New Outlook.Application Set olNameSpace = _ olApp.GetNamespace("MAPI") olNameSpace.LogonSo the call of the Initialize function is necessary for the proper operation of the component.The component limitations 1. The component only works with object properties, and it is unable of working with it's tables (e.g. with message attachment tables) 2. The component doesn't support operation with multi-valued properties (e.g., like PT_MV_BINARY). However, there are no such properties amongst CDO constants. 3. When reading properties through ReadStreamProp and ReadRTFStreamProp, the result is always returned as a string, no matter what the property type is. Component usage examplesThe component is supplied with the source code in Microsoft Visual C++ 6.0 and examples in Visual Basic .NET, Visual Basic 6.0 and JScript. All the examples are both for CDO and for Microsoft Outlook Object Model.Ordering InformationMAPIProp is free for commercial and non-commercial use.

This is a free COM-component designed to read ... This is a free COM-component designed to read the MAPI-properties of CDO and MicrosoftdlT« OutlookdlT« Object Model objects for Microsoft Outlook 2000, 2002/XP, 2003, 2007 ...

outlook, visual, microsoft, message, component, basic, property, model, read, compressed, security, body, code

  • MAPIProp
  • 1.0
  • MAPILab Ltd.
  • WinXP, WinNT 4.x, WinME, Win2003, Win2000, Win Vista
  • Freeware
  • 133 Kb
  • 190
  • Free

Review MAPIProp

  • captcha

Other software of MAPILab Ltd.
  • Actual Contacts for Outlook  v.2.2Actual Contacts for Outlook(ACO) is a Microsoft Outlook add-in for updating your address book and monitoring validity of e-mail addresses in the contacts. Select the contacts you wish to update and ACO will send them a message containing a form to ...
  • Add Contacts  v.1.6.3Microsoft Outlook add-in. Add Contacts automatically, adds e-mail addresses to the contact folder when you reply to a message and/or send a new message. This will help you avoid losing addresses of people you correspond with.
  • Advanced Folders Watch  v.2.1Advanced Folders Watch is a powerful and very flexible tool for managers, analysts, observers, technical support team members - for everyone who has to deal with a great number of e-mail messages, who has to respond to e-mail messages on-the-go, as ...

New Miscellaneous software
  • Screen Watermark  v. can print the desired watermark on the screen. This screen watermark does not affect the running of other programs. Also, Up to 4 texts and images can be used as watermark.
  • Password Keeper  v.1.13Simple password word manager. Keep track of all your usernames and passwords for free with Password Keeper. If you are looking for something free to try out, this is the perfect program for you.
  • SyncMate  v.8.0SyncMate syncs data on Mac with Android and iOS devices, Windows services (Outlook, Office 365 Business and Office 365 Home accounts), other Macs, Google, Dropbox and iCloud accounts, any mounted storage devices, MTP devices.
  • AnonymWin  v. is easy-to-use free software to stop Windows spying and collecting your info. Stop Windows Defender, Telemetry, turn off access to Cam, Mic and Files. Turn off tracking services and logs. Block AV notifications.
  • File Shredder  v."File Shredder" is for deleting documents, programs, and other files without possibility to restore them.
  • Send Personally Component  v.1.0Send Personally Component (CSP) provides for personalized message distribution in MicrosoftdlT« OutlookdlT« 2000-2007.