Commit 66961910 authored by Richard M. Stallman's avatar Richard M. Stallman

(sendmail-send-it): Check continuation lines

when checking for empty subject lines.
parent 85e50874
...@@ -508,7 +508,7 @@ the user from the mailer." ...@@ -508,7 +508,7 @@ the user from the mailer."
;;; (insert "Sender: " (user-login-name) "\n"))) ;;; (insert "Sender: " (user-login-name) "\n")))
;; Don't send out a blank subject line ;; Don't send out a blank subject line
(goto-char (point-min)) (goto-char (point-min))
(if (re-search-forward "^Subject:[ \t]*\n" delimline t) (if (re-search-forward "^Subject:\\([ \t]*\n\\)+\\b" delimline t)
(replace-match "")) (replace-match ""))
;; Put the "From:" field in unless for some odd reason ;; Put the "From:" field in unless for some odd reason
;; they put one in themselves. ;; they put one in themselves.
......
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