Platform SDK: Exchange Server

IExchExtCallback::SetRecipients

Sets the recipient list for the currently selected item.

Quick Info

See IExchExtCallback : IUnknown.

HRESULT SetRecipients(
  LPADRLIST lpal  
);
 

Parameters

lpal
[in] Pointer to the location of the new address list.

Return Values

S_OK
No error occurred.
E_INVALIDARG
The method was called from a context that does not support recipients.

Remarks

Use MAPI functions to fill a MAPI ADRLIST structure with the appropriate information. This method is called in the following contexts:

EECONTEXT_SENDNOTEMESSAGE

EECONTEXT_READNOTEMESSAGE

EECONTEXT_SENDPOSTMESSAGE

EECONTEXT_READPOSTMESSAGE

EECONTEXT_READREPORTMESSAGE

EECONTEXT_SENDRESENDMESSAGE

See Also

IExchExtCallback::GetRecipients