Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Email

At a high level, sending an email in SithBit works like this: the message body is encrypted and pinned to IPFS off-chain; only the resulting content identifier (CID) and a small envelope (to, from, timestamp) go on-chain as part of the SendMail instruction. Postage — whether the frombox price or the mailbox default — gates whether the send is allowed at all. See Addresses for how addresses work and Economics for the money side of a send; this section covers the mechanics of the three mail operations themselves.

Note: in normal operation, MX/SMTP servers handle sending and receiving mail for you — see Running a mail server. The sithbit mail commands documented here talk to the chain and IPFS directly, which is useful for testing, scripting, or understanding exactly what a mail server does on your behalf.