silc_mime_encode

SYNOPSIS

    unsigned char *silc_mime_encode(SilcMime mime, SilcUInt32 *encoded_len);

DESCRIPTION

Encodes the `mime' context into a raw MIME message (may be human readable). The caller must free the returned buffer. If the `mime' is multipart MIME message all parts will be automatically encoded as well.

If you want to create fragmented MIME message use the function silc_mime_encode_partial.