aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 5384dc0cb25..0fa95023517 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -522,7 +522,7 @@ the user from the mailer."
522 ;; they put one in themselves. 522 ;; they put one in themselves.
523 (goto-char (point-min)) 523 (goto-char (point-min))
524 (if (not (re-search-forward "^From:" delimline t)) 524 (if (not (re-search-forward "^From:" delimline t))
525 (let* ((login (user-login-name)) 525 (let* ((login user-mail-address)
526 (fullname (user-full-name))) 526 (fullname (user-full-name)))
527 (cond ((eq mail-from-style 'angles) 527 (cond ((eq mail-from-style 'angles)
528 (insert "From: " fullname) 528 (insert "From: " fullname)