Function: gnus-summary-resend-bounced-mail
gnus-summary-resend-bounced-mail is an autoloaded, interactive and
byte-compiled function defined in gnus-msg.el.gz.
Signature
(gnus-summary-resend-bounced-mail &optional FETCH)
Documentation
Re-mail the current message.
This only makes sense if the current message is a bounce message that contains some mail you have written which has been bounced back to you. If FETCH, try to fetch the article that this is a reply to, if indeed this is a reply.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-msg.el.gz
;;; Treatment of rejected articles.
;;; Bounced mail.
(defun gnus-summary-resend-bounced-mail (&optional fetch)
"Re-mail the current message.
This only makes sense if the current message is a bounce message that
contains some mail you have written which has been bounced back to
you.
If FETCH, try to fetch the article that this is a reply to, if indeed
this is a reply."
(interactive "P" gnus-summary-mode)
(gnus-summary-select-article t)
(let (summary-buffer parent)
(if fetch
(progn
(setq summary-buffer (current-buffer))
(set-buffer gnus-original-article-buffer)
(article-goto-body)
(when (re-search-forward "^References:\n?" nil t)
(while (memq (char-after) '(?\t ? ))
(forward-line 1))
(skip-chars-backward "\t\n ")
(setq parent
(gnus-parent-id (buffer-substring (match-end 0) (point))))))
(set-buffer gnus-original-article-buffer))
(gnus-setup-message 'compose-bounce
(message-bounce)
;; Add Gcc header.
(gnus-inews-insert-gcc)
;; If there are references, we fetch the article we answered to.
(when parent
(with-current-buffer summary-buffer
(gnus-summary-refer-article parent)
(gnus-summary-show-all-headers))))))