Function: pop3-quit
pop3-quit is a byte-compiled function defined in pop3.el.gz.
Signature
(pop3-quit PROCESS)
Documentation
Close connection to POP3 server.
Tell server to remove all messages marked as deleted, unlock the maildrop, and close the connection.
Source Code
;; Defined in /usr/src/emacs/lisp/net/pop3.el.gz
;; UPDATE
(defun pop3-quit (process)
"Close connection to POP3 server.
Tell server to remove all messages marked as deleted, unlock the maildrop,
and close the connection."
(pop3-send-command process "QUIT")
(pop3-read-response process t)
(if process
(with-current-buffer (process-buffer process)
(goto-char (point-max))
(delete-process process))))