Lumail - The console email client


Lua primitives: count_body_parts()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

This function will the count of MIME-parts the current message contains.

For example:

msg( "This message has " .. count_body_parts() .. " MIME parts" );

Availability

This function has been available since version 0.20.

See Also

See also get_body_part, get_body_parts, has_body_part, on_get_body.