Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3ff0518e
Commit
3ff0518e
authored
Jul 04, 2001
by
Gerd Moellmann
Browse files
(sendmail-send-it): Look at `sendmail-program'
in caller buffer.
parent
23c6089e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
lisp/mail/sendmail.el
lisp/mail/sendmail.el
+7
-5
No files found.
lisp/mail/sendmail.el
View file @
3ff0518e
...
...
@@ -798,7 +798,11 @@ external program defined by `sendmail-program'."
;;; resend-to-addresses
delimline
fcc-was-found
(
mailbuf
(
current-buffer
)))
(
mailbuf
(
current-buffer
))
(
program
(
if
(
boundp
'sendmail-program
)
sendmail-program
"/usr/lib/sendmail"
))
(
originator
user-mail-address
))
(
unwind-protect
(
save-excursion
(
set-buffer
tembuf
)
...
...
@@ -962,12 +966,10 @@ external program defined by `sendmail-program'."
(select-message-coding-system)))
(args
(append (list (point-min) (point-max)
(if (boundp 'sendmail-program)
sendmail-program
"/usr/lib/sendmail")
program
nil errbuf nil "-oi")
(and mail-specify-envelope-from
(list "-f"
user-mail-address
))
(list "-f"
originator
))
;;; ;; Don't say "from root" if running under su.
;;; (and (equal (user-real-login-name) "root")
;;; (list "-f" (user-login-name)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment