Platform SDK: SMTP Server Events

IMailMsgPropertyBag::PutStringA

[This is preliminary documentation and subject to change.]

Write a string property.

HRESULT PutStringA(
  [in] DWORD dwPropID,
  [in,unique] LPCSTR pszValue
);
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  

S_OK

Success.

S_FALSE

Success. The property was not present.

See Also

ISMTPParams.GetStringA