Module lua_mime

This module contains helper functions to modify mime parts

Brief content:

Functions:

Function Description
lua_mime.add_text_footer(task, html_footer, text_footer) Adds a footer to all text parts in a message.

Functions

The module lua_mime defines the following functions.

Function lua_mime.add_text_footer(task, html_footer, text_footer)

Adds a footer to all text parts in a message. It returns a table with the following fields:

  • out: new content (body only)
  • need_rewrite_ct: boolean field that means if we must rewrite content type
  • new_ct: new content type (type => string, subtype => string)

Parameters:

No parameters

Returns:

No return

Back to module description.

Back to top.