Lua primitives: sent_mail()
The lumail client operates solely on Maildir folders. All folders beneath a given directory will be dynamically discovered at run-time.
When composing messages we need to save a copy of the outgoing mail, and to do that we need to know which folder is the one for "sent items".
-- -- This setting is used to specify the prefix for your maildir hierarchy. -- -- Here we set ~/Maildir/. -- maildir_prefix( os.getenv( "HOME" ) .. "/Maildir" ); -- -- The folder to use for storing sent-messages. -- -- Here we set ~/Maildir/sent-mail. -- sent_mail( maildir_prefix() .. "/sent-mail" );
This function has been available since version 0.07.