]> git.eshelyaron.com Git - emacs.git/commitdiff
(smtpmail-send-it): Use mail-sendmail-undelimit-header.
authorRichard M. Stallman <rms@gnu.org>
Thu, 30 Apr 1998 06:12:32 +0000 (06:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 30 Apr 1998 06:12:32 +0000 (06:12 +0000)
lisp/mail/smtpmail.el

index 95b512a65b358f37971ea425e094e59e99d69899..b747eafe16e3e2c3af404738ecf56b9e12cc5e1e 100644 (file)
@@ -129,11 +129,7 @@ This is relative to `smtpmail-queue-dir'.")
          (or (= (preceding-char) ?\n)
              (insert ?\n))
          ;; Change header-delimiter to be what sendmail expects.
-         (goto-char (point-min))
-         (re-search-forward
-           (concat "^" (regexp-quote mail-header-separator) "\n"))
-         (replace-match "\n")
-         (backward-char 1)
+         (mail-sendmail-undelimit-header)
          (setq delimline (point-marker))
 ;;       (sendmail-synch-aliases)
          (if mail-aliases