Re: How to "hard" delete item using extended mapi?

From: Julia (codewizard_at_012.net.il)
Date: 07/04/04

  • Next message: Julia: "Is there some way to see outlook source code?"
    Date: Sun, 4 Jul 2004 12:29:46 +0200
    
    

    " BTW i notice that for a soft deleted item the parent is the original
     folder"

    sorry this section is about contacts item
    when soft deleting them I see this behavior

    "Dmitry Streblechenko (MVP)" <dmitry@dimastr.com> wrote in message
    news:O5xq20sXEHA.3596@tk2msftngp13.phx.gbl...
    > Do you mean the MailItem.Parent property? When and how do you read it?
    >
    > Dmitry Streblechenko (MVP)
    > http://www.dimastr.com/
    > OutlookSpy - Outlook, CDO
    > and MAPI Developer Tool
    >
    >
    > "Julia" <codewizard@012.net.il> wrote in message
    > news:%23rseOloXEHA.1356@TK2MSFTNGP09.phx.gbl...
    > > Ok,thanks.
    > >
    > > BTW i notice that for a soft deleted item the parent is the original
    > folder
    > > and not the deleted folder?!
    > >
    > > Thanks.
    > >
    > >
    > > "Dmitry Streblechenko (MVP)" <dmitry@dimastr.com> wrote in message
    > > news:uwExi8mXEHA.212@TK2MSFTNGP12.phx.gbl...
    > > > IMAPIFolder::DeleteMessages()
    > > > A note on terminology - a soft delete in Outlook is actually a move to
    > the
    > > > Deleted Items folder, it has nothing to do with deletion.
    > > > A message is deleted when you call IMAPIFolder::DeleteMessages().
    > > > Hard delete in Extended MAPI is when you use the DELETE_HARD_DELETE
    flag
    > > > when calling IMAPIFolder::DeleteMessages (Exchange specific). In this
    > case
    > > > you will not be able to undelete the message. Normally Exchange
    retains
    > > > deleted messages for some time, so you can undelete them using
    "Deleted
    > > Item
    > > > Recovery"
    > > >
    > > > Dmitry Streblechenko (MVP)
    > > > http://www.dimastr.com/
    > > > OutlookSpy - Outlook, CDO
    > > > and MAPI Developer Tool
    > > >
    > > >
    > > > "Julia" <codewizard@012.net.il> wrote in message
    > > > news:ucZeHafXEHA.2716@tk2msftngp13.phx.gbl...
    > > > > Hello
    > > > >
    > > > > Which function in extened mapi for hard delete messages,
    > > > > so they wont go to the deleted items folder?
    > > > >
    > > > >
    > > > > thanks
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >


  • Next message: Julia: "Is there some way to see outlook source code?"