Function: mail-sendmail-undelimit-header

mail-sendmail-undelimit-header is a byte-compiled function defined in sendmail.el.gz.

Signature

(mail-sendmail-undelimit-header)

Documentation

Remove header separator to put the message in correct form for sendmail.

Leave point at the start of the delimiter line.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
(defun mail-sendmail-undelimit-header ()
  "Remove header separator to put the message in correct form for sendmail.
Leave point at the start of the delimiter line."
  (goto-char (point-min))
  (unless (zerop (length mail-header-separator))
    (when (re-search-forward
           (concat "^" (regexp-quote mail-header-separator) "\n")
           nil t)
      (replace-match "\n")))
  (rfc822-goto-eoh))