diff options
| author | Erik Naggum | 1996-12-17 02:54:04 +0000 |
|---|---|---|
| committer | Erik Naggum | 1996-12-17 02:54:04 +0000 |
| commit | 92976f6765ee5787a015a88be51faa7b150eca69 (patch) | |
| tree | db8472162f55e8d36e67d93c2bec56fd79e3bbf9 | |
| parent | b89446011788d7def7215126e89fb86b5ca496e2 (diff) | |
| download | emacs-92976f6765ee5787a015a88be51faa7b150eca69.tar.gz emacs-92976f6765ee5787a015a88be51faa7b150eca69.zip | |
(sendmail-send-it): Explicitly pass interactive delivery options to
sendmail.
| -rw-r--r-- | lisp/mail/sendmail.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 9ad63d69737..5fbc49c3a47 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -689,7 +689,7 @@ the user from the mailer." | |||
| 689 | (if (let ((case-fold-search t)) | 689 | (if (let ((case-fold-search t)) |
| 690 | (re-search-forward "^To:\\|^cc:\\|^bcc:\\|^resent-to:\ | 690 | (re-search-forward "^To:\\|^cc:\\|^bcc:\\|^resent-to:\ |
| 691 | \\|^resent-cc:\\|^resent-bcc:" | 691 | \\|^resent-cc:\\|^resent-bcc:" |
| 692 | delimline t) | 692 | delimline t)) |
| 693 | (let ((default-directory "/")) | 693 | (let ((default-directory "/")) |
| 694 | (apply 'call-process-region | 694 | (apply 'call-process-region |
| 695 | (append (list (point-min) (point-max) | 695 | (append (list (point-min) (point-max) |
| @@ -705,9 +705,13 @@ the user from the mailer." | |||
| 705 | ;;; (list "-f" (user-login-name))) | 705 | ;;; (list "-f" (user-login-name))) |
| 706 | (and mail-alias-file | 706 | (and mail-alias-file |
| 707 | (list (concat "-oA" mail-alias-file))) | 707 | (list (concat "-oA" mail-alias-file))) |
| 708 | ;; These mean "report errors by mail" | 708 | (if mail-interactive |
| 709 | ;; and "deliver in background". | 709 | ;; These mean "report errors to terminal" |
| 710 | (if (null mail-interactive) '("-oem" "-odb")) | 710 | ;; and "deliver interactively" |
| 711 | '("-oep" "-odi") | ||
| 712 | ;; These mean "report errors by mail" | ||
| 713 | ;; and "deliver in background". | ||
| 714 | '("-oem" "-odb")) | ||
| 711 | ;; Get the addresses from the message | 715 | ;; Get the addresses from the message |
| 712 | ;; unless this is a resend. | 716 | ;; unless this is a resend. |
| 713 | ;; We must not do that for a resend | 717 | ;; We must not do that for a resend |