IMimeBody::GetTransmitInfo method

Gets information about how the body should be encoded so that it can be transmitted across the Internet.

Syntax

HRESULT GetTransmitInfo(
  [in, out] LPTRANSMITINFO pTransmitInfo
);

Parameters

pTransmitInfo [in, out]

Type: LPTRANSMITINFO

Receives a pointer to a TRANSMITINFO structure that contains information about the body.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that pTransmitInfo is NULL.
MIME_E_MULTIPART_NO_DATA
Indicates that the body has a multipart primary Content-Type and getting transmission data on this body type is not supported.
E_OUTOFMEMORY
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
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)