Lumail - The console email client

Lua primitives: header()

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

When in message-mode, or index-mode, the header() function may be used to retrieve the value of a given header in the currently selected message.

For example:

msg( "This mail has subject" .. header( "Subject" ) );


This function has been available since version 0.07.

See Also

See also all_headers, body.