diff options
author | Reiner Steib <Reiner.Steib@gmx.de> | 2007-11-21 07:45:36 +0000 |
---|---|---|
committer | Reiner Steib <Reiner.Steib@gmx.de> | 2007-11-21 07:45:36 +0000 |
commit | b62a39c41d4b2a0f04207449edfb647118ce0568 (patch) | |
tree | 91af4e8333285aa38555a3d9ef8b422b6c03b2e9 /lisp/gnus/message.el | |
parent | d4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e (diff) | |
download | emacs-b62a39c41d4b2a0f04207449edfb647118ce0568.tar.gz |
(message-send-mail-function): Require sendmail.
Diffstat (limited to 'lisp/gnus/message.el')
-rw-r--r-- | lisp/gnus/message.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 157c6f08b19..ef49e29d2cb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -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") |