.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CALIBRE-SMTP" "1" "6月 17, 2022" "5.44.0" "calibre" .SH NAME calibre-smtp \- calibre-smtp .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C calibre\-smtp [选项] [从到文本] .ft P .fi .UNINDENT .UNINDENT .sp 使用SMTP协议发送邮件。\fBcalibre\-smtp\(ga有两种操作模型。在“撰写”模式中, 您可以指定“from to ”和“正文”,它们用于撰写和发送电子邮件。在筛选 模式下,:command:\(gacalibre\-smtp\fP 从STDIN读取完整的电子邮件并发送。 文本是电子邮件的正文。 如果未指定文本,则会从STDIN读取完整的电子邮件。“from”是发件人的 电子邮件地址,“to ”是收件人的电子邮件地址。 当从STDIN读取完整的 电子邮件时,仅在SMTP协商中使用“从”和“到”电子邮件,则不修改邮件头。 .sp 每当向具有它们自己空间的:command: .nf \(ga .fi calibre\-smtp\(ga传递参数时,用引号括起这些参数。例如: \(dq/some path/with spaces\(dq .SH [選項] .INDENT 0.0 .TP .B \-\-fork, \-f 在后台发送邮件。如果使用此选项, 还应使用 \fI\%\-\-outbox\fP 处理传递失败。 .UNINDENT .INDENT 0.0 .TP .B \-\-help, \-h 顯示說明訊息並退出 .UNINDENT .INDENT 0.0 .TP .B \-\-localhost, \-l localhost 的主機名稱。使用於連線至 SMTP 伺服器時。 .UNINDENT .INDENT 0.0 .TP .B \-\-outbox, \-o 在邮件文件夹中存储失败电子邮件的路径。 .UNINDENT .INDENT 0.0 .TP .B \-\-timeout, \-t 连接超时 .UNINDENT .INDENT 0.0 .TP .B \-\-verbose, \-v 更詳細 .UNINDENT .INDENT 0.0 .TP .B \-\-version 顯示程式版本編號並退出 .UNINDENT .SS COMPOSE MAIL .sp 撰写电子邮件的选项。如果正文未设置,将被忽略。 .INDENT 0.0 .TP .B \-\-attachment, \-a 無法加入 email 的附件中 .UNINDENT .INDENT 0.0 .TP .B \-\-subject, \-s 主旨 .UNINDENT .SS SMTP RELAY .sp 使用SMTP中繼伺服器傳送郵件的選項。calibre 將嘗試直接傳送電子郵件,除非 \-\-relay 已經指定。 .INDENT 0.0 .TP .B \-\-cafile 一个以PEM格式连接的CA证书文件(用于在使用TLS时验证服务器证书)的路径。默认情况下,使用系统CA证书。 .UNINDENT .INDENT 0.0 .TP .B \-\-dont\-verify\-server\-certificate 在使用TLS连接时不验证服务器证书。这是caliber 3.27版之前的默认行为。如果要使用带有自签名证书或其他无效证书的中继,则可以使用此选项恢复之前3.27版的行为 .UNINDENT .INDENT 0.0 .TP .B \-\-encryption\-method, \-e 請選擇連線至轉發伺服器的加密方式。你可以選擇 TLS、SSL、NONE,預設值為 TLS,請注意:選擇 NONE 是高度危險的。 .UNINDENT .INDENT 0.0 .TP .B \-\-password, \-p 中继的密码 .UNINDENT .INDENT 0.0 .TP .B \-\-port 連接至轉發伺服器的連接埠,預設使用SSL加密埠465,Port25是不被接受的。 .UNINDENT .INDENT 0.0 .TP .B \-\-relay, \-r SMTP 轉送伺服器,用以傳送信件 .UNINDENT .INDENT 0.0 .TP .B \-\-username, \-u 中继的用户名 .UNINDENT .SH AUTHOR Kovid Goyal .SH COPYRIGHT Kovid Goyal .\" Generated by docutils manpage writer. .