M
Mike Buch
Hello,
i have the follow problem:
But not in VB, i have the Problem in Delphi
If i call the function GetItemFromID(MailID,StoreID)
it works ony fine if i have a local pst File, but it works not if
Outlook 2000 Postoffice i a Exchange Postoffice
My Code:
utlook := CoApplication_.Create;
o_NameSpace := o_outlook.GetNamespace('MAPI');
o_NameSpace.Logon('','',FALSE,FALSE);
o_Mail := (o_NameSpace.GetItemFromID(MailEntryID, o_StoreID) as
_MailItem); // <= Error if Exchange Postoffice
o_Mail.Display(Wait);
I get the OLEException: Object not Found.
I need help.
(Sorry for bad english)
Mike
i have the follow problem:
But not in VB, i have the Problem in Delphi
If i call the function GetItemFromID(MailID,StoreID)
it works ony fine if i have a local pst File, but it works not if
Outlook 2000 Postoffice i a Exchange Postoffice
My Code:
utlook := CoApplication_.Create;
o_NameSpace := o_outlook.GetNamespace('MAPI');
o_NameSpace.Logon('','',FALSE,FALSE);
o_Mail := (o_NameSpace.GetItemFromID(MailEntryID, o_StoreID) as
_MailItem); // <= Error if Exchange Postoffice
o_Mail.Display(Wait);
I get the OLEException: Object not Found.
I need help.
(Sorry for bad english)
Mike