(message-send-mail-function): Require sendmail.
This commit is contained in:
parent
d4aa48db8e
commit
b62a39c41d
2 changed files with 7 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue