diff options
| author | Chong Yidong | 2010-03-28 14:44:47 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-03-28 14:44:47 -0400 |
| commit | 8233e79a5642617028530f88c8ffa98901984d30 (patch) | |
| tree | f7ba255cd69eef1b8ccc3d7c0f50afb8cbb311c7 | |
| parent | 03ffe8beb22eb890aaaef23c25d07794e6a5d071 (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/sending.texi | 44 |
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 @@ | |||
| 1 | 2010-03-28 Chong Yidong <cyd@stupidchicken.com> | 1 | 2010-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 | |||
| 7 | 2010-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 | |||
| 56 | m} to make a new mail buffer, and work with each mail buffer | 56 | m} to make a new mail buffer, and work with each mail buffer |
| 57 | independently. | 57 | independently. |
| 58 | 58 | ||
| 59 | Before using Emacs to send mail, you may need to customize the | ||
| 60 | variable @code{send-mail-function} if your system is not set up to | ||
| 61 | deliver mail directly via SMTP (@pxref{Mail Sending}). In addition, | ||
| 62 | you may need to customize @code{user-mail-address} if the system | ||
| 63 | cannot 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 |
| 407 | user agent sends mail. It should be set to a function. In most | 413 | user agent sends mail. Its value should be a function, which can be |
| 408 | cases, the default is @code{sendmail-send-it}, which delivers mail | 414 | one of the following: |
| 409 | using @command{sendmail} (or a @command{sendmail}-compatible program). | 415 | |
| 410 | On 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 |
| 412 | system's designated mail client (see @file{mailclient.el}). To send | 418 | Send mail using the system's default @command{sendmail} (or |
| 413 | mail 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 | 420 | and 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). |
| 416 | Another option is @code{feedmail-send-it} (see the commentary section | 422 | |
| 417 | of the @file{feedmail.el} package). | 423 | @item mailclient-send-it |
| 424 | Pass 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 | ||
| 426 | MS-Windows. | ||
| 427 | |||
| 428 | @item smtpmail-send-it | ||
| 429 | Send mail through an external mail host (e.g., your Internet service | ||
| 430 | provider's SMTP server). You will need to tell Emacs how to contact | ||
| 431 | the 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 | ||
| 436 | This is similar to @code{sendmail-send-it}, but allows you to queue | ||
| 437 | messages 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 |