MAPI_E_INVALID_ENTRYID
Tue, 5 Aug 2008 16:48:08 -0500
Ocassionally, when I attempt to open an email from the inbox folder I get
MAPI_E_INVALID_ENTRYID.
LPMESSAGE pMessage = NULL;
hr = pFolder->OpenEntry(entryId->cb, (LPENTRYID)entryId->lpb, NULL,
MAPI_BEST_ACCESS, &uObjType, (LPUNKNOWN FAR *)&pMessage);
if (FAILED(hr))
{
//Log error
...
|
PR_CREATION_TIME & PR_LAST_MODIFICATION_TIME always returned as "now"
Tue, 5 Aug 2008 12:09:38 +0800
Using MAPI to retrieve these property values for Outlook objects (messages,
notes, etc) with HrGetOneProp(), but the return value for both is always
"now"... Other dates are returned correctly (such as
PR_MESSAGE_DELIVERY_TIME).
Outlook Spy returns the correct value, not sure what I am doing wrong... Any
...
|
MAPI Logon
Mon, 4 Aug 2008 10:21:00 -0700
Hi all!!! I have the following problem....
I have a multithread program, each thread creates new MAPI instance (create
profile, logon, create message e.t.c). Sometimes, when I call Logon(), I get
RPC_E_SERVERFAULT. (The thread count is 2) ...
|
Open attachment for Outlook task item
Sun, 3 Aug 2008 18:48:15 +0300
Hello,
I am writing a simple Exchange client event extension.
The implementation is straightforward (similar with
http://www.ssuet.edu.pk/taimoor/books/0-672-30928-9/ch12.htm#RegisteringExtensions -
only I am implementing other interfaces):
- publish in registry the extension
key: HKEY_LOCAL_MACHINE\SOFT ...
|
Anuncios Gratis www.AnunciosGratis.de
Fri, 1 Aug 2008 12:39:48 +0200
Vendo coche seat ibiza, 1999 . en buen estado, color plata, Precio ,4900 euros. Precio 4566 Euros.
Tfno: 91452123334
Puedes ver mi anuncio gratis en:
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
ww ...
|
MapiSendMail on Vista Fails if Outlook 2007 Running?
Thu, 31 Jul 2008 11:06:18 +0100
I have some code to send mail from an application via MAPI from managed code
as follows:
<DllImport("MAPI32.DLL")> _
Private Shared Function MAPISendMail(ByVal sess As IntPtr, ByVal hwnd
As IntPtr, ByVal message As MapiMessage, ByVal flg As Integer, ByVal rsv As
Integer) As Integer
End Func ...
|
MAPI_E_CALL_FAILED ?
Tue, 29 Jul 2008 14:38:59 -0500
Recently, I noticed that the message store OpenEntry code fails with
MAPI_E_CALL_FAILED when opening mails on a certain exchange 2003 server.
This does not happen on other exchange servers for which the same code is
running.
ULONG uObjType = 0;
LPMESSAGE pMessage = NULL;
hr = pMsgStore->OpenEntry(entry ...
|
|
|
Configuring IMAP with ConfigureMsgService API...
Wed, 30 Jul 2008 02:13:40 +0800
I am trying to add a new service and configure it. Its an IMAP service that
I add first and can see it on my outlook. However, I run into problems when
I try configuring this.
The ConfigureMsgService returns an S_OK but I don't find the service
configured.
And then the configuremsgservice returns S_OK ...
|
Resolving distribution list members
Tue, 29 Jul 2008 14:02:17 +0100
Hi
How do you obtain distribution list members? I tried to open the list via
the address book with its entry ID and then query its contents table but
that produces 0 rows. However the distribution list does have members in the
list and can be viewed in Outlook.
Cheers
Win
...
|
Working with .msg files that are attachments
Mon, 28 Jul 2008 07:32:44 -0700 (PDT)
Could anybody give me a clue as to how to gain access to .msg files
using MAPI?
I have written an app that the attachment of every email in a mailbox
to a file on disk. These .msg files also contain attachments, how can
I access these?
Alternatively, how could I go about saving these .msg attachments to
an ...
|