Mail is sent using SMTP (Simple Mail Transfer Protocol). If you
are on a Unix machine, you will probably have a daemon running
on your machine, which accepts mail on the default SMTP port.
This usually works without problems. On a typical desktop
machine, however, there is no local SMTP daemon running, or it
is not correctly configured. You can talk to the SMTP server of
your ISP, however. This page describes how to do this using
SmtpMail. On my Windows NT machine, for example, this is my
setup: (setq smtpmail-default-smtp-server "mail.bsiag.com"
smtpmail-local-domain "bsiag.com") (load-library "smtpmail")
Furthermore, you need to tell Emacs to use ‘smtpmail-send-it’
whenever you want to send mail. If you are using MailMode (the
default), add this: (setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it) Here is
another setup example: (setq smtpmail-default-smtp-server
"smtpserver") ; needs to be specified before the (require)
(require 'smtpmail) (setq send-mail-function