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

This commit is contained in:
Lars Magne Ingebrigtsen 2011-05-02 01:19:21 +00:00 committed by Katsumi Yamaoka
parent b87f32fc00
commit 2193f991eb
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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.

View file

@ -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