summaryrefslogtreecommitdiff
path: root/doc/misc/message.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/message.texi')
-rw-r--r--doc/misc/message.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index b0510f00373..29fbdfe1786 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -2553,6 +2553,22 @@ if @code{nil} let the mailer mail back a message to report errors.
When non-@code{nil}, Gnus will ask for confirmation when sending a
message.
+@item message-server-alist
+@vindex message-server-alist
+An alist describing the rules for generating the
+@code{X-Message-SMTP-Method} header to insert before sending out a new
+message, if the message doesn't yet have such a header. Each element
+of the alist should be of the form
+@w{@code{(@var{cond} . @var{method})}}. If @var{cond} is a string, it
+will be compared with the @code{From} header, and if they compare
+equal, the corresponding @var{method} will be inserted as a string
+into the message headers as the SMTP Method. If @var{cond} is a
+function, it will be called in the message buffer without any
+arguments, and the corresponding @var{method} will be inserted into
+the message headers as the SMTP Method if the function returns a
+non-@code{nil} value; if @var{method} is nil, the value returned by
+the function @code{cond} is used instead.
+
@end table