((or (eq pop3-stream-type 'ssl)
(and (not pop3-stream-type)
(member port '(995 "pop3s"))))
- :tls)
+ 'tls)
(t
(or pop3-stream-type 'network)))
:capability-command "CAPA\r\n"
- :end-of-command "^\\.\r?\n\\|^\\+[A-Z]+ .*\n"
+ :end-of-command "^\\.\r?\n\\|^\\(-ERR\\|+OK \\).*\n"
:success "^\\+OK.*\n"
:return-list t
:starttls-function