How lexinshou/smtp-mail-luvit works
This is a small SMTP mail client for Luvit. The documented workflow is to require the module, create a client, optionally configure authentication, provide the SMTP envelope and message headers/body, then send and destroy the client. The README documents these API stages but no implementation details, so the graph uses the documented entry and client paths without inferring internal calls or protocol steps.
Main entry points: smtp.lua Send Message · init.lua SMTP Module
Components 10
Other components
- Application
- SMTP Module
smtp/init.lua - Mail Client
smtp/smtp.lua - Authentication
smtp/smtp.lua - Mail Envelope
smtp/smtp.lua - Message Headers
smtp/smtp.lua - Message Body
smtp/smtp.lua - Send Message
smtp/smtp.lua - Destroy Client
smtp/smtp.lua - SMTP Server
Connections 9
- Application → SMTP Module: requires
- Application → Mail Client: creates
- Application → Authentication: sets credentials
- Application → Mail Envelope: sets recipients
- Application → Message Headers: sets headers
- Application → Message Body: sets body
- Application → Send Message: calls send
- Send Message → SMTP Server: sends mail
- Application → Destroy Client: destroys client