Platform SDK: Exchange Server

IExchExtCallback::GetRecipients

Returns a pointer to the recipient list for the currently open item.

Quick Info

See IExchExtCallback : IUnknown.

HRESULT GetRecipients(
  LPADRLIST FAR * lppal  
);
 

Parameters

lppal
[out] Pointer to the location where the address list is returned.

Return Values

S_OK
No error occurred.
E_INVALIDARG
The function was called from a context that does not support recipients or there is no recipients list.

Remarks

The recipient list is returned in a MAPI ADRLIST structure.

This method is called in the following contexts:

EECONTEXT_SENDNOTEMESSAGE

EECONTEXT_READNOTEMESSAGE

EECONTEXT_SENDPOSTMESSAGE

EECONTEXT_READPOSTMESSAGE

EECONTEXT_READREPORTMESSAGE

EECONTEXT_SENDRESENDMESSAGE

See Also

IExchExtCallback::SetRecipients