Lumail - The console email client

Lua primitives: on_edit_message()

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

When you're composing an email via compose(), or reply(), your preferred editor will be invoked for you to enter your message text.

Immediately after the editor has terminated the function on_edit_message() will be invoked with the path to the recently-edited message.

This allows you the opportunity to update the message with a GPG-signature, invoke a spell-check, or similar.


This function has been available since version 0.16.

See Also

See also compose, editor, reply, send_email.