Platform SDK: SMTP Server Events

IMailMsgProperties::PutBool

[This is preliminary documentation and subject to change.]

Write a BOOL property into the MailMsg object.

HRESULT PutBool(
   [in] DWORD dwPropID,
   [in] DWORD bValue
);
dwPropID
Specifies the property ID.
dwValue
The value to write. This value is coerced to either TRUE or FALSE. It is not possible to erase the property with this method - use IMailMsgProperties::PutProperty to erase a DWORD property.

Return Values

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

See Also

IMailMsgProperties::GetBool