|
From: | Kevin Rodgers |
Subject: | Re: better not have a non-header line after Subject |
Date: | Thu, 08 Jun 2006 09:29:52 -0600 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Dan Jacobson wrote:
Both plain emacs 22 or "No gnus", send differently mangled mail when given Subject: bla, and a second non header line starting in column 1 Garbage in, garbage out, but not caught.
There is code in mail-send to detect that: ;; Complain about any invalid line. (goto-char (point-min)) (while (< (point) (mail-header-end)) (unless (looking-at "[ \t]\\|.*:\\|$") (push-mark opoint)(error "Invalid header line (maybe a continuation line lacks initial whitespace)"))
(forward-line 1)) But mail-header-end seems to be broken: it calls rfc822-goto-eoh instead of searching for the mail-header-separator (either the text on a line by itself or the category text property value). -- Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |