Re: Security Issue with Office XP Outlook 2002 SP3

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ken Slovak - [MVP - Outlook] (kenslovak_at_mvps.org)
Date: 05/14/04


Date: Fri, 14 May 2004 10:38:08 -0400

Writing to .Body or .HTMLBody is not restricted and won't fire the security,
only reading those properties does.

I just use Redemption myself, it's nice and easy.

-- 
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
"Jim" <jfathman@aol.com> wrote in message
news:6dfb5332.0405140607.669c4b54@posting.google.com...
> Ken,
>
> I guess I'd better get busy expanding my Extended MAPI wrapper DLL to
> support reading .Body.  Hopefully it isn't too complicated to
> transition between the Outlook mail item object handle in VB6 and the
> equivalent Extended MAPI handle in C code.
>
> I may also try changing my approach.  I need to write to .Body, but I
> do that now without incident when I create the mail item using
> Extended MAPI.  Reading .Body is where I am bumping into the new
> security barrier.  Perhaps when I create the mail item, I can put my
> data in .UserProperties, and then read that later via the Outlook
> Object Model without any security issues.  If I never read .Body via
> the OOM, and it is ok to read .UserProperties, that might work.
>
> Thanks.
>
> Jim


Relevant Pages

  • Re: Outlook 2007 and Programmatic access
    ... you don't get the benefit of Outlook 2007's changed security model. ... promised feature of being able to turn off that warning. ... Collaboration Data Objects is a more robust programming interface that wraps many Extended MAPI features and can be used in languages like VBScript. ...
    (microsoft.public.outlook.installation)
  • Re: Oulook - Access MAPI
    ... >The security dialogs that pop up when an application ... >Outlook properties and methods are designed to inhibit ... Outlook 2003 does not show security prompts on ... >you cannot use Extended MAPI in Outlook forms or VBA. ...
    (microsoft.public.outlook.program_vba)
  • Newline value in Extended MAPI versus Outlook Object Model
    ... avoid the Outlook security warning that occurs with newer Outlook ... message via Extended MAPI, I get 0x0A only. ... vbNewLine after reading the body text via Extended MAPI, ...
    (microsoft.public.outlook.program_addins)
  • Re: Problem with Outlook security dialog
    ... property and QI it for IMessage Extended MAPI interface. ... OutlookSpy - Outlook, CDO ... > called the Outlook security dialog appears. ...
    (microsoft.public.outlook.program_addins)
  • Re: Oulook - Access MAPI
    ... The security dialogs that pop up when an application tries to access certain ... Outlook properties and methods are designed to inhibit the spread of viruses ... If you're the administrator in an Exchange Server environment, ... COM library that wraps around Extended MAPI but parallels the Outlook Object ...
    (microsoft.public.outlook.program_vba)