Home All Groups Group Topic Archive Search About

Open mail in olFolderSentMail with Extended MAPI or Automation

Author
13 Dec 2004 10:49 PM
Thomas Ingerslev
I need to handle mails (show or forward) in the sendmail folder using
the entryID of the message.

Using GetNamespace('MAPI').GetItemFromID(EntryID,'')) dont seem to
work on this folder.

I have tried to specify the storeID of the olFolderSentMail, that wont
work either.

I got no problems when mails are in olFolderInbox.

It must be possible, but how.

Dmitry (or some one else) please help.

Author
14 Dec 2004 5:48 AM
Michael Bauer
Hi Thomas,

AFAIK for GetItemFromID it doesn´t matter, in which Folder the item is
stored. If it is not in your default *.pst then you need the StoreID,
too.

--
Viele Grüße
Michael Bauer


Show quoteHide quote
"Thomas Ingerslev" <t***@danmark-bygger.dk> wrote in message
news:e5b20ef4.0412131449.40419e34@posting.google.com...
> I need to handle mails (show or forward) in the sendmail folder using
> the entryID of the message.
>
> Using GetNamespace('MAPI').GetItemFromID(EntryID,'')) dont seem to
> work on this folder.
>
> I have tried to specify the storeID of the olFolderSentMail, that wont
> work either.
>
> I got no problems when mails are in olFolderInbox.
>
> It must be possible, but how.
>
> Dmitry (or some one else) please help.

Bookmark and Share