]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-setup): After using `fill-region-as-paragraph'
authorRichard M. Stallman <rms@gnu.org>
Wed, 12 Aug 1998 07:31:00 +0000 (07:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 12 Aug 1998 07:31:00 +0000 (07:31 +0000)
on a new address field, ensure that it ends with a newline.

lisp/mail/sendmail.el

index a79fa289373b033ddf890d4adb244083b6080140..2a196326db00bc9832a01c27bf5fa28da0c1b814 100644 (file)
@@ -885,7 +885,7 @@ the user from the mailer."
                               ;; since some systems have broken sendmails.
                               ;; unless user has said no.
                               (if (memq mail-from-style '(angles parens nil))
-                                  (list "-f" (user-login-name)))
+                                  (list "-f" user-mail-address))
 ;;;                           ;; Don't say "from root" if running under su.
 ;;;                           (and (equal (user-real-login-name) "root")
 ;;;                                (list "-f" (user-login-name)))