Lumail - The console email client

Lua primitives: on_send_message()

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

Just prior to the sending of any mail, via compose(), forward(), reply(), or send_email() the function on_send_message() will be invoked with the path to the outgoing message.

This allows you the opportunity to add a GPG-signature, or similar.

The execution flow is thus:


This function has been available since version 0.16.

See Also

See also compose, editor, forward, on_sent_message, reply, send_email.