summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-03-28 14:44:47 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-03-28 14:44:47 -0400
commit8233e79a5642617028530f88c8ffa98901984d30 (patch)
treef7ba255cd69eef1b8ccc3d7c0f50afb8cbb311c7
parent03ffe8beb22eb890aaaef23c25d07794e6a5d071 (diff)
downloademacs-8233e79a5642617028530f88c8ffa98901984d30.tar.gz
Expand discussion of mail setup.
* sending.texi (Sending Mail): Note variables that may need customizing. (Mail Sending): Expand discussion of send-mail-function.
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/sending.texi44
2 files changed, 39 insertions, 11 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 056c970b0f3..8c580649f88 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,11 @@
2010-03-28 Chong Yidong <cyd@stupidchicken.com>
+ * sending.texi (Sending Mail): Note variables that may need
+ customizing.
+ (Mail Sending): Expand discussion of send-mail-function.
+
+2010-03-28 Chong Yidong <cyd@stupidchicken.com>
+
Document Message mode as the default mail mode.
* sending.texi (Sending Mail): Copyedits.
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi
index 3700e5c2e3b..59f140e5f8a 100644
--- a/doc/emacs/sending.texi
+++ b/doc/emacs/sending.texi
@@ -56,6 +56,12 @@ current mail buffer (@pxref{Misc Buffer}). Then you can use @kbd{C-x
m} to make a new mail buffer, and work with each mail buffer
independently.
+ Before using Emacs to send mail, you may need to customize the
+variable @code{send-mail-function} if your system is not set up to
+deliver mail directly via SMTP (@pxref{Mail Sending}). In addition,
+you may need to customize @code{user-mail-address} if the system
+cannot receive mail via SMTP (@pxref{Mail Headers}).
+
@menu
* Format: Mail Format. Format of a mail message.
* Headers: Mail Headers. Details of some standard mail header fields.
@@ -404,17 +410,33 @@ showing a list of possible coding systems.
@cindex Mailclient
@vindex send-mail-function
The variable @code{send-mail-function} controls how the default mail
-user agent sends mail. It should be set to a function. In most
-cases, the default is @code{sendmail-send-it}, which delivers mail
-using @command{sendmail} (or a @command{sendmail}-compatible program).
-On Mac OS X and MS-Windows, however, the default is normally
-@code{mailclient-send-it}, which passes the mail buffer on to the
-system's designated mail client (see @file{mailclient.el}). To send
-mail through an SMTP server, set @code{send-mail-function} to
-@code{smtpmail-send-it} and set up the Emacs SMTP library
-(@pxref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}).
-Another option is @code{feedmail-send-it} (see the commentary section
-of the @file{feedmail.el} package).
+user agent sends mail. Its value should be a function, which can be
+one of the following:
+
+@table @code
+@item sendmail-send-it
+Send mail using the system's default @command{sendmail} (or
+@command{sendmail}-compatible) program. This is the default on Unix
+and GNU, and works provided the system is a valid @dfn{mail host}
+(that is, provided it can deliver mail via SMTP).
+
+@item mailclient-send-it
+Pass the mail buffer on to the system's designated mail client (see
+@file{mailclient.el}). This is the default on Mac OS X and
+MS-Windows.
+
+@item smtpmail-send-it
+Send mail through an external mail host (e.g., your Internet service
+provider's SMTP server). You will need to tell Emacs how to contact
+the SMTP server, by customizing the variables
+@code{smtpmail-smtp-server} and @code{smtpmail-auth-credentials}.
+@xref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}.
+
+@item feedmail-send-it
+This is similar to @code{sendmail-send-it}, but allows you to queue
+messages for later sending. See the commentary section in the file
+@file{feedmail.el} for more information.
+@end table
@node Header Editing
@subsection Mail Header Editing