Platform SDK: SMTP Server Events

IMailMsgProperties::PutProperty

[This is preliminary documentation and subject to change.]

Write a property into the MailMsg object.

HRESULT PutProperty(
   [in] DWORD dwPropID,
   [in] DWORD cbLength,
   [in,size_is(cbLength),length_is(cbLength),unique] BYTE *pbValue
);
dwPropID
Specifies the property identifier for the property to write.
cbLength
Specifies the length in bytes of the value.
pbValue
Specifies the value. If this is NULL, then the property is erased.

Return Values

Value Description
S_OK Success.
S_FALSE Success. The property was not present.

See Also

IMailMsgProperties.GetProperty