Most of the manual here addresses Message mode, yet talks about
'send-mail-function' which is used for Mail mode.
Fixing this completely requires more involved work, but for now at
least document the difference here.
* doc/emacs/sending.texi (Mail Sending): Mention
'message-send-mail-function'. (Bug#39639)
@cindex Feedmail
@cindex Sendmail
@cindex Mailclient
+@vindex message-send-mail-function
@vindex send-mail-function
- The variable @code{send-mail-function} controls how the message is
-delivered. Its value should be one of the following functions:
+ The variable @code{message-send-mail-function} controls how the
+message is delivered (@code{send-mail-function} is used for Mail mode).
+The value of @code{send-mail-function} should be one of the following
+functions:
@table @code
@item sendmail-query-once