Platform SDK: SMTP Server Events

IMailMsgProperties::PutStringA

[This is preliminary documentation and subject to change.]

Write a string property into the MailMsg object.

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 Success. The property was not present.

See Also

IMailMsgProperties::GetStringA