Commit 2193f991 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka

pop3.el (pop3-open-server): Error messages are "-ERR".

parent b87f32fc
2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
* pop3.el (pop3-open-server): Error messages are "-ERR".
2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
......
......@@ -306,7 +306,7 @@ Returns the process associated with the connection."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment