Lumail - The console email client

Lua primitives: compose()

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

This function will prompt for a recipient & subject, then open your editor to compose a new email.

You can specify the editor to use via the editor() primitive.

After prompting for confirmation the outgoing mail will then be sent, and a copy written to your configured sent-mail folder.


This function has been available since version 0.07.

See Also

See also bounce, editor, forward, on_edit_message, on_message_aborted, on_send_message, reply, send_email, sendmail_path, sent_mail.