mail

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 3 Imported by: 0

README

mail

import "github.com/kitsunium/sdk/framework/kit/mail"

Package mail plugs kit's mailers in: the outbox a mailer keeps — the SDK's mail spool, sealed on the database that keeps the mailer's service, else in the data directory or in memory — and the transports that empty it, the SDK's SMTP transport and its capture transport. A product that declares a mailer imports it:

import _ "github.com/kitsunium/sdk/framework/kit/mail"

A product that declares none does not, and links none of that outbox; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). It imports framework/kit/store and framework/kit/queue: a mailer's outbox on a database is the queue subsystem's, joined to the transaction of the database the store subsystem opened, and sealed under kit's data keys, kept in a store of kit's own. framework/kit imports it too until ADR 0179's last step: no product needs the line yet.

Generated from docs/api by tools/genindex.

Documentation

Overview

Package mail plugs kit's mailers in: the outbox a mailer keeps — the SDK's mail spool, sealed on the database that keeps the mailer's service, else in the data directory or in memory — and the transports that empty it, the SDK's SMTP transport and its capture transport. A product that declares a mailer imports it:

import _ "github.com/kitsunium/sdk/framework/kit/mail"

A product that declares none does not, and links none of that outbox; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). It imports framework/kit/store and framework/kit/queue: a mailer's outbox on a database is the queue subsystem's, joined to the transaction of the database the store subsystem opened, and sealed under kit's data keys, kept in a store of kit's own. framework/kit imports it too until ADR 0179's last step: no product needs the line yet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL