void vortex_channel_set_automatic_mime ( VortexChannel channel,
int  value 

Allows to configure automatic MIME header addition handling at channel level (only the channel is affected).

See 4.2 Using MIME configuration for data exchanged under Vortex Library for a long explanation. In sort, this function allows to configure if MIME headers should be added or not automatically on each message sent using the family of functions vortex_channel_send_*.

The function allows to configure at channel level automatic MIME handling. This configuration will override configuration provided at (vortex_conf_set VORTEX_AUTOMATIC_MIME_HANDLING) and vortex_profiles_set_automatic_mime.

Use the following values for "value":

  • 1: Enable automatic MIME handling for messages send under the channel provided, making the configuration process to not check next levels.
  • 0: Makes automatic MIME handling configuration at channel level to have no signification, making the configuration process to check next levels.
  • 2: Disable automatic MIME handling, making the configuration process to not check next levels.
channelThe channel to configure.
valueThe value to be configured.