smtp

SMTP email client for Kit using native Zig FFI

Files

FileDescription
kit.tomlPackage manifest with metadata and dependencies
src/main.kitEmail sending with AUTH LOGIN/PLAIN authentication
zig/kit_ffi.zigShared FFI types and Kit value constructors
zig/smtp.zigSMTP protocol commands and base64 auth encoding
tests/smtp.test.kitTests for error types and message extraction
LICENSEMIT license file

Dependencies

No Kit package dependencies.

Installation

kit add gitlab.com/kit-lang/packages/kit-smtp.git

Usage

import Kit.Smtp

License

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}