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
- Encryption method to use when connecting to relay. Choices are TLS, SSL
and NONE. Default is TLS. WARNING: Choosing NONE is highly insecure
- --port
- Port to connect to on relay server. Default is to use 465 if encryption
method is SSL and 25 otherwise.