The mime.lua module contains a function
mime.send() that sends MIME-encoded email attachments using the SMTP protocol. The mime.send() is a wrapper around
net.smtp.send() with an added “attachments” parameter.
The code for this module can be downloaded from our code repository.
No API documentation has been written for the mime.lua module yet. See the links to wiki articles below for more information and example usage.
For More Information
Here is a wiki tip about using the mime.lua module:
- Sending files as MIME attachments