Arch manual pages

CALIBRE-SMTP(1) calibre CALIBRE-SMTP(1)

calibre-smtp - calibre-smtp

calibre-smtp [options] [from to text]


Send mail using the SMTP protocol. calibre-smtp has two modes of operation. In the compose mode you specify from to and text and these are used to build and send an email message. In the filter mode, calibre-smtp reads a complete email message from STDIN and 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. 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 to calibre-smtp that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"

--fork, -f
Fork and deliver message in background. If you use this option, you should also use --outbox to handle delivery failures.

--help, -h
顯示說明訊息並退出

--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
更詳細

--version
顯示程式版本編號並退出

Options to compose an email. Ignored if text is not specified
--attachment, -a
File to attach to the email

--subject, -s
主旨

Options to use an SMTP relay server to send mail. calibre will try to send the email directly unless --relay is specified.
--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 in calibre versions before 3.27. If you are using a relay with a self-signed or otherwise invalid certificate, you can use this option to restore the pre 3.27 behavior

--encryption-method, -e
請選擇連線至轉發伺服器的加密方式。你可以選擇TLS、SSL、NONE,預設值為TLS,請注意:選擇NONE是高度危險的。

--password, -p
Password for relay

--port
連接至轉發伺服器的連接埠,預設使用SSL加密埠465,Port25是不被接受的。

--relay, -r
An SMTP relay server to use to send mail.

--username, -u
Username for relay

Kovid Goyal

Kovid Goyal
5月 31, 2019 3.44.0