smtp
| Kind | ffi-zig |
|---|---|
| Categories | network email ffi |
| Keywords | smtp email mail zig-ffi |
SMTP email client for Kit using native Zig FFI
Files
| File | Description |
|---|---|
kit.toml | Package manifest with metadata and dependencies |
src/main.kit | Email sending with AUTH LOGIN/PLAIN authentication |
zig/kit_ffi.zig | Shared FFI types and Kit value constructors |
zig/smtp.zig | SMTP protocol commands and base64 auth encoding |
tests/smtp.test.kit | Tests for error types and message extraction |
LICENSE | MIT license file |
Dependencies
No Kit package dependencies.
Installation
kit add gitlab.com/kit-lang/packages/kit-smtp.gitUsage
import Kit.SmtpLicense
MIT License - see LICENSE for details.
Exported Functions & Types
SMTPError
SMTP error type for typed error handling. Variants distinguish between different failure modes.
Variants
SMTPConnectionError {message}SMTPAuthError {message}SMTPSendError {message}SMTPProtocolError {message}