Variable: smtpmail-stream-type
smtpmail-stream-type is a customizable variable defined in
smtpmail.el.gz.
Value
nil
Documentation
Type of SMTP connections to use.
This may be either nil (upgrade with STARTTLS if possible),
starttls (refuse to send if STARTTLS isn't available),
plain (never use STARTTLS), or tls (to use TLS/SSL).
ssl is accepted as a backwards-compatible equivalent
to tls
This variable was added, or its default value changed, in Emacs 24.1.
Probably introduced at or before Emacs version 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/smtpmail.el.gz
(defcustom smtpmail-stream-type nil
"Type of SMTP connections to use.
This may be either nil (upgrade with STARTTLS if possible),
`starttls' (refuse to send if STARTTLS isn't available),
`plain' (never use STARTTLS), or `tls' (to use TLS/SSL).
`ssl' is accepted as a backwards-compatible equivalent
to `tls'"
:version "24.1"
:type '(choice (const :tag "Possibly upgrade to STARTTLS" nil)
(const :tag "Always use STARTTLS" starttls)
(const :tag "Never use STARTTLS" plain)
(const :tag "Use TLS/SSL" tls)
(const :tag "Use TLS/SSL (old name)" ssl)))