Lumail - The console email client


Lua primitives: mark_read()

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

This function will mark the currently selected message as old/read. You may also call this function with a path, which will update the message specified instead.

For example:

--
-- Mark every message we've read as such.
--
function on_read_message( path )
  mark_read(path);
end

Availability

This function has been available since version 0.07.

See Also

See also current_message, is_new, mark_unread.