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

(sendmail-send-it): Check continuation lines

when checking for empty subject lines.
parent 85e50874
......@@ -508,7 +508,7 @@ the user from the mailer."
;;; (insert "Sender: " (user-login-name) "\n")))
;; Don't send out a blank subject line
(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 ""))
;; Put the "From:" field in unless for some odd reason
;; 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