Commit 7e34da22 authored by Karl Heuer's avatar Karl Heuer
Browse files

(sendmail-send-it): Added support for Resent-CC and

Resent-BCC headers.
parent fc67d5be
......@@ -493,7 +493,7 @@ the user from the mailer."
(replace-match "\n"))
(let ((case-fold-search t))
(goto-char (point-min))
(while (re-search-forward "^Resent-to:" delimline t)
(while (re-search-forward "^Resent-\\(to\\|cc\\|bcc\\):" delimline t)
(setq resend-to-addresses
(narrow-to-region (point)
......@@ -501,7 +501,12 @@ the user from the mailer."
(append (mail-parse-comma-list)
;; Delete Resent-BCC ourselves
(if (save-excursion (beginning-of-line)
(looking-at "resent-bcc"))
(delete-region (save-excursion (beginning-of-line) (point))
(save-excursion (end-of-line) (1+ (point))))))
;;; Apparently this causes a duplicate Sender.
;;; ;; If the From is different than current user, insert Sender.
;;; (goto-char (point-min))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment