Check capability after starttls.
+2002-08-18 Kenichi OKADA <okada@opaopa.org>
+
+ * elmo-imap4.el (elmo-network-initialize-session):
+ Check capability after starttls.
+
2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-util.el (elmo-list-delete): Added optional argument
(signal 'elmo-open-error
'(elmo-imap4-starttls-error)))
(elmo-imap4-send-command-wait session "starttls")
- (starttls-negotiate process)))))
+ (starttls-negotiate process)
+ (elmo-imap4-session-set-capability-internal
+ session
+ (elmo-imap4-response-value
+ (elmo-imap4-send-command-wait session "capability")
+ 'capability))))))
(luna-define-method elmo-network-authenticate-session ((session
elmo-imap4-session))