Mailfromd Manual (split by node):   Section:   Chapter:FastBack: Library   Up: Library   FastForward: Using MFL Mode   Contents: Table of ContentsIndex: Concept Index

5.11 Mail Body Functions

Built-in Function: string body_string (pointer text, number count)

Converts first count bytes from the memory location pointed to by text into a regular string.

This function is intended to convert the $1 argument passed to a body handler to a regular MFL string. For more information about its use, see body handler.

Built-in Function: bool body_has_nulls (pointer text, number count)

Returns ‘True’ if first count bytes of the string pointed to by text contain ASCII NUL characters.


prog body
  if body_has_nulls($1, $2)