IHTTPMailTransport::CommandPOST method
[IHTTPMailTransport::CommandPOST is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Sends the POST command to the HTTPMail server.
Syntax
HRESULT CommandPOST(
[in] LPCSTR pszPath,
[in] IStream *pStream,
[in] LPCSTR pszContentType,
[in] DWORD dwContext
);
Parameters
-
pszPath [in]
-
Type: LPCSTR
Specifies an LPCSTR that contains a null-terminated string that is the complete URL to the resource under which the entity stream should stored.
-
pStream [in]
-
Type: IStream*
Specifies a pointer to an IStream object that contains the data stream to be posted to the server.
-
pszContentType [in]
-
Type: LPCSTR
Specifies an LPCSTR that indicates the type of content being posted.
-
dwContext [in]
-
Type: DWORD
Currently unused. Should be set to zero.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that pszPath or pStream is NULL. |
|
Indicates that an attempt to allocate memory failed. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|