Lumail - The console email client

Lua primitives: attachment()

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

This function will return the content of the specified attachment.

For example:

int count = count_attachments();
int i = 1

while( i <= count ) do
  alert( i )
  i = i + 1


This function has been available since version 0.26.

See Also

See also attachment_colour, attachments, count_attachments, save_attachment.