sourCEntral - mobile manpages

pdf

CALIBRE-SMTP

NAME

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

本机的主机名。连接到 SMTP 服务器时使用。

−−outbox, −o

Path to maildir folder to store failed email messages in.

−−timeout, −t

连接超时

−−verbose, −v

更详细

−−version

显示程序版本号并退出

COMPOSE MAIL
撰写电子邮件的选项。如果正文未设置,将被忽略。
−−attachment, −a

选择邮件附件

−−subject, −s

邮件标题

SMTP RELAY
Options to use an SMTP relay server to send mail. calibre will try to send the email directly unless –relay is specified.
−−encryption−method, −e

连接到中继时使用的加密方式。选项有 TLS、SSL 和 NONE(无),默认是 TLS。警告:选择 NONE 十分不安全。

−−password, −p

中继的密码

−−port

中继服务器的端口。默认是 465(SSL 加密)和 25(不加密)。

−−relay, −r

发送邮件使用的 SMTP 中继服务器

−−username, −u

中继的用户名

AUTHOR

Kovid Goyal

COPYRIGHT

Kovid Goyal

pdf