aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-03-28 14:44:47 -0400
committerChong Yidong2010-03-28 14:44:47 -0400
commit8233e79a5642617028530f88c8ffa98901984d30 (patch)
treef7ba255cd69eef1b8ccc3d7c0f50afb8cbb311c7
parent03ffe8beb22eb890aaaef23c25d07794e6a5d071 (diff)
downloademacs-8233e79a5642617028530f88c8ffa98901984d30.tar.gz
emacs-8233e79a5642617028530f88c8ffa98901984d30.zip
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 @@
12010-03-28 Chong Yidong <cyd@stupidchicken.com> 12010-03-28 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * sending.texi (Sending Mail): Note variables that may need
4 customizing.
5 (Mail Sending): Expand discussion of send-mail-function.
6
72010-03-28 Chong Yidong <cyd@stupidchicken.com>
8
3 Document Message mode as the default mail mode. 9 Document Message mode as the default mail mode.
4 10
5 * sending.texi (Sending Mail): Copyedits. 11 * 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
56m} to make a new mail buffer, and work with each mail buffer 56m} to make a new mail buffer, and work with each mail buffer
57independently. 57independently.
58 58
59 Before using Emacs to send mail, you may need to customize the
60variable @code{send-mail-function} if your system is not set up to
61deliver mail directly via SMTP (@pxref{Mail Sending}). In addition,
62you may need to customize @code{user-mail-address} if the system
63cannot receive mail via SMTP (@pxref{Mail Headers}).
64
59@menu 65@menu
60* Format: Mail Format. Format of a mail message. 66* Format: Mail Format. Format of a mail message.
61* Headers: Mail Headers. Details of some standard mail header fields. 67* Headers: Mail Headers. Details of some standard mail header fields.
@@ -404,17 +410,33 @@ showing a list of possible coding systems.
404@cindex Mailclient 410@cindex Mailclient
405@vindex send-mail-function 411@vindex send-mail-function
406 The variable @code{send-mail-function} controls how the default mail 412 The variable @code{send-mail-function} controls how the default mail
407user agent sends mail. It should be set to a function. In most 413user agent sends mail. Its value should be a function, which can be
408cases, the default is @code{sendmail-send-it}, which delivers mail 414one of the following:
409using @command{sendmail} (or a @command{sendmail}-compatible program). 415
410On Mac OS X and MS-Windows, however, the default is normally 416@table @code
411@code{mailclient-send-it}, which passes the mail buffer on to the 417@item sendmail-send-it
412system's designated mail client (see @file{mailclient.el}). To send 418Send mail using the system's default @command{sendmail} (or
413mail through an SMTP server, set @code{send-mail-function} to 419@command{sendmail}-compatible) program. This is the default on Unix
414@code{smtpmail-send-it} and set up the Emacs SMTP library 420and GNU, and works provided the system is a valid @dfn{mail host}
415(@pxref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}). 421(that is, provided it can deliver mail via SMTP).
416Another option is @code{feedmail-send-it} (see the commentary section 422
417of the @file{feedmail.el} package). 423@item mailclient-send-it
424Pass the mail buffer on to the system's designated mail client (see
425@file{mailclient.el}). This is the default on Mac OS X and
426MS-Windows.
427
428@item smtpmail-send-it
429Send mail through an external mail host (e.g., your Internet service
430provider's SMTP server). You will need to tell Emacs how to contact
431the SMTP server, by customizing the variables
432@code{smtpmail-smtp-server} and @code{smtpmail-auth-credentials}.
433@xref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}.
434
435@item feedmail-send-it
436This is similar to @code{sendmail-send-it}, but allows you to queue
437messages for later sending. See the commentary section in the file
438@file{feedmail.el} for more information.
439@end table
418 440
419@node Header Editing 441@node Header Editing
420@subsection Mail Header Editing 442@subsection Mail Header Editing