streams that were opened using starttls.
+2002-09-28 Simon Josefsson <jas@extundo.com>
+
+ * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
+ streams that were opened using starttls.
+
2002-09-28 Paul Reilly <pmr@pajato.com>
* files.el (auto-mode-alist): Add support for Java Enterprise
(if (and do-starttls
(smtpmail-find-credentials smtpmail-starttls-credentials host port)
(member 'starttls supported-extensions)
- (process-id process))
+ (numberp (process-id process)))
(progn
(smtpmail-send-command process (format "STARTTLS"))
(if (or (null (car (setq response-code (smtpmail-read-response process))))