@c This is part of the Emacs manual.
@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, 2002,
-@c 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+@c 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
-@node Sending Mail, Rmail, Abbrevs, Top
+@node Sending Mail
@chapter Sending Mail
@cindex sending mail
@cindex mail
@item nil
Use just the email address, as in @samp{king@@grassland.com}.
@item parens
-Use both email address and full name, as in @samp{king@@grassland.com (Elvis
-Parsley)}.
+Use both email address and full name, as in:@*
+@samp{king@@grassland.com (Elvis Parsley)}.
@item angles
-Use both email address and full name, as in @samp{Elvis Parsley
-<king@@grassland.com>}.
+Use both email address and full name, as in:@*
+@samp{Elvis Parsley <king@@grassland.com>}.
@item system-default
Allow the system to insert the @samp{From} field.
@end table
@end example
@noindent
-is correct. Emacs will insert the address as @samp{"George W. Bush"
-<bush@@whitehouse.gov>}.
+is correct in @samp{.mailrc}. Emacs will insert the address as
+@samp{"George W. Bush" <bush@@whitehouse.gov>}.
Emacs also recognizes ``include'' commands in @samp{.mailrc} files.
They look like this:
@smallexample
(add-hook 'mail-mode-hook
- (lambda ()
- (define-key
- mail-mode-map [remap next-line] 'mail-abbrev-next-line)
- (define-key
- mail-mode-map [remap end-of-buffer] 'mail-abbrev-end-of-buffer)))
+ (lambda ()
+ (define-key
+ mail-mode-map [remap next-line] 'mail-abbrev-next-line)
+ (define-key
+ mail-mode-map [remap end-of-buffer] 'mail-abbrev-end-of-buffer)))
@end smallexample
@node Mail Mode
is @code{sendmail-send-it}, which delivers mail using the Sendmail
installation on the local host. To send mail through a SMTP server,
set it to @code{smtpmail-send-it} and set up the Emacs SMTP library
-(@pxref{Top,,Emacs SMTP Library, Sending mail via SMTP,smtpmail}). A
+(@pxref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}). A
third option is @code{feedmail-send-it}, see the commentary section of
the @file{feedmail.el} package for more information.