1CALIBRE-SMTP(1) calibre CALIBRE-SMTP(1)
2
3
4
6 calibre-smtp - part of calibre
7
9 calibre-smtp [options] [from to text]
10
12 Send mail using the SMTP protocol. calibre-smtp has two modes of opera‐
13 tion. In the compose mode you specify from to and text and these are
14 used to build and send an email message. In the filter mode, calibre-
15 smtp reads a complete email message from STDIN and sends it.
16
17 text is the body of the email message. If text is not specified, a
18 complete email message is read from STDIN. from is the email address
19 of the sender and to is the email address of the recipient. When a com‐
20 plete email is read from STDIN, from and to are only used in the SMTP
21 negotiation, the message headers are not modified.
22
23 Whenever you pass arguments to calibre-smtp that have spaces in them,
24 enclose the arguments in quotation marks.
25
27 --version
28 show program's version number and exit
29
30 -h, --help
31 show this help message and exit
32
33 -l, --localhost
34 Host name of localhost. Used when connecting to SMTP server.
35
36 -o, --outbox
37 Path to maildir folder to store failed email messages in.
38
39 -f, --fork
40 Fork and deliver message in background. If you use this option,
41 you should also use --outbox to handle delivery failures.
42
43 -t, --timeout
44 Timeout for connection
45
46 -v, --verbose
47 Be more verbose
48
49 COMPOSE MAIL
50 Options to compose an email. Ignored if text is not specified
51
52 -a, --attachment
53 File to attach to the email
54
55 -s, --subject
56 Subject of the email
57
58 SMTP RELAY
59 Options to use an SMTP relay server to send mail. calibre will try to
60 send the email directly unless --relay is specified.
61
62 -r, --relay
63 An SMTP relay server to use to send mail.
64
65 --port Port to connect to on relay server. Default is to use 465 if
66 encryption method is SSL and 25 otherwise.
67
68 -u, --username
69 Username for relay
70
71 -p, --password
72 Password for relay
73
74 -e, --encryption-method
75 Encryption method to use when connecting to relay. Choices are
76 TLS, SSL and NONE. Default is TLS. WARNING: Choosing NONE is
77 highly insecure
78
80 The User Manual is available at http://calibre-ebook.com/user_manual
81
82 Created by Kovid Goyal <kovid@kovidgoyal.net>
83
84
85
86calibre-smtp (calibre 0.7.38) March 2011 CALIBRE-SMTP(1)