Function: pop3-stat

pop3-stat is a byte-compiled function defined in pop3.el.gz.

Signature

(pop3-stat PROCESS)

Documentation

Return the number of messages in the maildrop and the maildrop's size.

Source Code

;; Defined in /usr/src/emacs/lisp/net/pop3.el.gz
;; TRANSACTION STATE

(defun pop3-stat (process)
  "Return the number of messages in the maildrop and the maildrop's size."
  (pop3-send-command process "STAT")
  (let ((response (pop3-read-response process t)))
    (list (string-to-number (nth 1 (split-string response " ")))
	  (string-to-number (nth 2 (split-string response " "))))
    ))