From 3c2cede3cda93df7804b3721394f65d1fa57b2a6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 12 Aug 1998 07:31:00 +0000 Subject: [PATCH] (mail-setup): After using `fill-region-as-paragraph' on a new address field, ensure that it ends with a newline. --- lisp/mail/sendmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index a79fa289373..2a196326db0 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -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))) -- 2.39.5