ec_message_part_get_content_type3

March 26, 2020 Contributors

Name

ec_message_part_get_content_type3 — Returns the content type and charset for a given part

Synopsis

#include "ec_message.h"

| void **ec_message_part_get_content_type3** ( | p, |   |
|   | pathway, |   |
|   | content_type, |   |
|   | ct_len, |   |
|   | charset, |   |
|   | charset_len); |   |

ec_message_part * <var class="pdparam">p</var>;
const char * <var class="pdparam">pathway</var>;
char * <var class="pdparam">content_type</var>;
int <var class="pdparam">ct_len</var>;
char * <var class="pdparam">charset</var>;
int <var class="pdparam">charset_len</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Returns the content type and charset for a given part.

Parameters

path

pathway the messahe came in on.

content_type

a buffer to hold the content type.

ct_len

the size of the content_type buffer in bytes

charset

a buffer to hold the charset.

charset_set

the size of charset buffer in bytes.

**Configuration Change. ** This feature is available starting from Momentum 3.0.18.

See Also

ec_mime_component_extract_content_type().