Function: pop3-apop
pop3-apop is a byte-compiled function defined in pop3.el.gz.
Signature
(pop3-apop PROCESS USER)
Documentation
Send alternate authentication information to the server.
Source Code
;; Defined in /usr/src/emacs/lisp/net/pop3.el.gz
(defun pop3-apop (process user)
"Send alternate authentication information to the server."
(let ((pass pop3-password))
(if (and pop3-password-required (not pass))
(setq pass
(read-passwd (format "Password for %s: " pop3-maildrop))))
(if pass
(let ((hash (md5 (concat pop3-timestamp pass) nil nil 'binary)))
(pop3-send-command process (format "APOP %s %s" user hash))
(let ((response (pop3-read-response process t)))
(if (not (and response (string-match "\\+OK" response)))
(pop3-quit process)))))
))