Platform SDK: SMTP Server Events

IMailMsgRecipientsBase::PutStringW

[This is preliminary documentation and subject to change.]

Write a recipient Unicode string property.

HRESULT PutStringW(
  [in] DWORD dwIndex,
  [in] DWORD dwPropID,
  [in,unique] LPCWSTR pszValue
);
dwIndex
Specifies the zero-based index of the recipient.
dwPropID
Specifies the property ID.
pszValue
Specifies the value. If this is NULL, the property will be erased.

Return Values

Value Description
S_OK Success.
S_FALSE Success. The property was not present.
STG_E_NOMOREFILES Error. The recipient was not present.

See Also

IMailMsgRecipientsBase.GetStringW