Function: feedmail-confirm-addresses-hook-example

feedmail-confirm-addresses-hook-example is a byte-compiled function defined in feedmail.el.gz.

Signature

(feedmail-confirm-addresses-hook-example)

Documentation

An example of a feedmail-last-chance-hook.

It shows the simple addresses and gets a confirmation. Use as:
 (setq feedmail-last-chance-hook 'feedmail-confirm-addresses-hook-example).

Source Code

;; Defined in /usr/src/emacs/lisp/mail/feedmail.el.gz
(defun feedmail-confirm-addresses-hook-example ()
  "An example of a `feedmail-last-chance-hook'.
It shows the simple addresses and gets a confirmation.  Use as:
 (setq feedmail-last-chance-hook \\='feedmail-confirm-addresses-hook-example)."
  (save-window-excursion
    (display-buffer (set-buffer (get-buffer-create " F-C-A-H-E")))
    (erase-buffer)
    (insert (mapconcat #'identity feedmail-address-list " "))
    (if (not (y-or-n-p "How do you like them apples? "))
	(error "FQM: Sending...gave up in last chance hook"))))