1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00

(message-send-mail-function): Require sendmail.

This commit is contained in:
Reiner Steib 2007-11-21 07:45:36 +00:00
parent d4aa48db8e
commit b62a39c41d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-11-21 Reiner Steib <Reiner.Steib@gmx.de>
* message.el (message-send-mail-function): Require sendmail.
2007-11-20 Reiner Steib <Reiner.Steib@gmx.de>
* message.el (message-send-mail-function): Check for smtpmail too.

View File

@ -625,7 +625,9 @@ Done before generating the new subject of a forward."
(defun message-send-mail-function ()
"Return suitable value for the variable `message-send-mail-function'."
(cond ((and sendmail-program
(cond ((and (require 'sendmail)
(boundp 'sendmail-program)
sendmail-program
(executable-find sendmail-program))
'message-send-mail-with-sendmail)
((and (locate-library "smtpmail")