CALIBRE-SMTP(1)
β¨ NAME β¨
calibre-smtp β okay so bestie, this is the calibre manual's very own calibre-smtp(1) situation, and it is literally the tool that sends mail using the SMTP protocol π
πΈ SYNOPSIS πΈ
calibre-smtp [options] [from to text]
π¦ DESCRIPTION π¦
Send mail using the SMTP protocol. No cap, that's the whole gig. calibre-smtp has two modes of operation, and honestly she's flexible like that:
- In the compose mode you specify
fromtoandtext, and these are used to build and send an email message β¨ - In the filter mode,
calibre-smtpreads a complete email message fromSTDINand sends it π
text is the body of the email message. If text is not specified, a complete email message is read from STDIN.
from is the email address of the sender and to is the email address of the recipient. And here's the lil plot twist π when a complete email is read from STDIN, from and to are only used in the SMTP negotiation β the message headers are not modified.
β οΈ Whenever you pass arguments tocalibre-smtpthat have spaces in them, enclose the arguments in quotation marks. For example:"/some path/with spaces"β the spaces will absolutely betray you otherwise π«Ά
π OPTIONS π
--fork,-fβ Fork and deliver message in background. If you use this option, you should also use--outboxto handle delivery failures. (main character energy, but make sure someone catches her if she trips π)--help,-hβ show this help message and exit--localhost,-lβ Host name of localhost. Used when connecting to SMTP server.--outbox,-oβ Path to maildir folder to store failed email messages in.--timeout,-tβ Timeout for connection--verbose,-vβ Be more verbose--versionβ show program's version number and exit
π¬ COMPOSE MAIL π¬
Options to compose an email. Ignored if text is not specified β like, she's not gonna build a message out of thin air bestie π
--attachment,-aβ File to attach to the email--subject,-sβ Subject of the email
π SMTP RELAY π
Options to use an SMTP relay server to send mail. calibre will try to send the email directly unless --relay is specified. So the relay is opt-in, periodt π
--cafileβ Path to a file of concatenated CA certificates in PEM format, used to verify the server certificate when using TLS. By default, the system CA certificates are used.--dont-verify-server-certificateβ Do not verify the server certificate when connecting using TLS. This used to be the default behavior incalibreversions before3.27. If you are using a relay with a self-signed or otherwise invalid certificate, you can use this option to restore the pre3.27behavior.--encryption-method,-eβ Encryption method to use when connecting to relay. Choices areTLS,SSLandNONE. Default isTLS. > β οΈ WARNING: ChoosingNONEis highly insecure. Like, do not unless you truly know what you're doing π--password,-pβ Password for relay--portβ Port to connect to on relay server. Default is to use465if encryption method isSSLand25otherwise.--relay,-rβ An SMTP relay server to use to send mail.--username,-uβ Username for relay
π AUTHOR π
Kovid Goyal
π COPYRIGHT π
Kovid Goyal
okay that's the whole page, you ate that π This was calibre-smtp from the calibre manual, version 9.14.0, dated August 28, 2026 β mwah, go send some mail bestie, ily π«Άβ¨π
π¦ where this page comes from
- arch rolling: calibre 9.14.0-5 Β· GPL-3.0-only
- nixos 26.05: calibre 9.14.0
- ubuntu stonking: calibre 9.14.0+ds+~0.10.6-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms