Skip to main content

Module mail_send

Module mail_send 

Source
Expand description

One send for every sender: supercode message send, the native agent’s send_message, and a request arriving through another machine’s mail door. It resolves the receiver, routes to another machine through Teams or to the router’s door here, guards against loops and repeats, and words the outcome for the sending agent.

Structs§

Outcome
What a delivery came to: the exit code, and the text the sending agent reads.
SendOptions
Options of one send.

Constants§

EXIT_FAILED
Exit code of a failed send.
EXIT_REFUSED
Exit code of a refused send.
EXIT_STORED
Exit code of a message stored with no door to show it.
EXIT_UNKNOWN
Exit code of an unknown or stale receiver.

Functions§

send
Send body from caller to to (an address, name@machine, or a name unique on this machine): through Teams when to is on another machine, else through the router’s door here. The one send every sender uses.