GMimeTnefPart

GMimeTnefPart — A TNEF attachment

Functions

Types and Values

Description

Parsing a MIME message identifies TNEF parts without interpreting their payload. Use g_mime_tnef_part_load_tnef_message() to decode one explicitly.

Functions

g_mime_tnef_part_new ()

GMimeTnefPart *
g_mime_tnef_part_new (void);

Returns

an application/ms-tnef attachment named winmail.dat.

[transfer full]


g_mime_tnef_part_load_tnef_message ()

GMimeTnefMessage *
g_mime_tnef_part_load_tnef_message (GMimeTnefPart *part,
                                    const GMimeTnefOptions *options,
                                    GError **error);

Loads the transfer-decoded payload independently of the part. Without explicit options, a recognized MIME charset supplies the default code page.

Parameters

part

a TNEF part

 

options

TNEF loading options.

[nullable]

error

return location for a GError, or NULL

 

Returns

the TNEF message, or NULL on error.

[transfer full][nullable]

Types and Values

GMimeTnefPart

typedef struct _GMimeTnefPart GMimeTnefPart;

A MIME part containing a TNEF message.