Hi,
I write a program in C++ for pocket pc 2002.
I would like to integrate with MS Pocket Outlook using MAPI.
The problem is, that I can't retrieve message recipients for a message,
stored in
OUTBOX directory.
I can list all messages in this directory and retrieve most of their data,
e.g.
subject, message delivery time and so on.
How can I get message recipients? I tried with "Recipient Tables", but
when I use
SetColumns function I always receive the following error: "Not
implemented".
There is some source code:
SizedSPropTagArray(3, Columns) = {3,{PR_DISPLAY_NAME,
PR_RECIPIENT_TYPE,
PR_ROWID}};
hrResult = pMessage->GetRecipientTable(
MAPI_UNICODE,
&pMsgRecipientsTable
);
if( FAILED( hrResult ) )
goto EXIT;
hrResult = pMsgRecipientsTable->SetColumns( (LPSPropTagArray)&Columns,
0 );
//////////////////////////////
The result is "Not Implemented"
//////////////////////////////
if( FAILED( hrResult ) )
goto EXIT;
while( !FAILED( hrResult = pMsgRecipientsTable->QueryRows( 1, 0,
&pRows ) ) )
{
.................................
}
What exactly should be done in order to retrieve message recipients?
Regards,
Iliyan Peychev