Skip to main content

ec_message_render_meta_to_string

Last updated March 2020

Name

ec_message_render_meta_to_string — Renders meta information about the message to a string

Synopsis

#include "ec_message.h"

| int **ec_message_render_meta_to_string** ( | mess, |   | |   | str, |   | |   | flags); |   |

ec_message * <var class="pdparam">mess</var>; string * <var class="pdparam">str</var>; int <var class="pdparam">flags</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.

Renders meta information about the message to a string.

Parameters

mess

the message

str

the string to render into

flags

affecting the rendition

Return Values

Returns the length of the rendered output in bytes.

Related Constants

EC_MSG_RENDER_OMIT_DOT

omit the trailing SMTP termination dot from the rendition

EC_MSG_RENDER_CALCULATE_LENGTH_ONLY

calculate the length only

EC_MSG_RENDER_HEADERS_ONLY

render the rfc2822 headers only

EC_MSG_RENDER_XML

render the output in an XML based format

EC_MSG_RENDER_OMIT_HEADERS

don't render the rfc2822 headers

EC_MSG_RENDER_OMIT_EPILOGUE

don't include epilogue

EC_MSG_RENDER_UNSTUFFED

remove SMTP dot stuffing while rendering, and use LF instead of CRLF

EC_MSG_RENDER_DEBUG

enable additional output in debugging mode

EC_MSG_RENDER_AVOID_IO

don't incur disk IO if we can avoid it

EC_MSG_RENDER_SUPPRESS_WRITE_ERRORS

don't log write errors, useful when rendering to a static string to limit the amount of the message being requested

Was this page helpful?