Function: imap-mailbox-unsubscribe

imap-mailbox-unsubscribe is a byte-compiled function defined in imap.el.gz.

Signature

(imap-mailbox-unsubscribe MAILBOX &optional BUFFER)

Documentation

Send the SUBSCRIBE command on the MAILBOX to server in BUFFER.

Returns non-nil if successful.

Source Code

;; Defined in /usr/src/emacs/lisp/net/imap.el.gz
(defun imap-mailbox-unsubscribe (mailbox &optional buffer)
  "Send the SUBSCRIBE command on the MAILBOX to server in BUFFER.
Returns non-nil if successful."
  (with-current-buffer (or buffer (current-buffer))
    (imap-ok-p (imap-send-command-wait (concat "UNSUBSCRIBE "
					       (imap-utf7-encode mailbox)
					       "\"")))))