Lumail - The console email client


Lua primitives: sendmail_path()

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

The compose(), reply(), and send_mail() primitives each send outgoing mail by invoking a copy of sendmail.

This primitive lets you specify the path to use, along with any required arguments.

For example:

--
-- Set the path to the binary that will actually deliver
-- outgoing email.
--
sendmail_path( "/usr/lib/sendmail -t" );

Availability

This function has been available since version 0.07.

See Also

See also bounce_path, compose, get_variables, reply, send_email.