File: smtpmail.el.html
Send Mail to smtp host from smtpmail temp buffer.
Please add these lines in your .emacs(_emacs) or use customize.
(setq send-mail-function 'smtpmail-send-it) ; if you use mail
(setq message-send-mail-function 'smtpmail-send-it) ; if you use message/Gnus
(setq smtpmail-smtp-server "YOUR SMTP HOST")
(setq smtpmail-local-domain "YOUR DOMAIN NAME")
(setq smtpmail-sendto-domain "YOUR DOMAIN NAME")
(setq smtpmail-debug-info t) ; only to debug problems
To queue mail, set smtpmail-queue-mail to t and use
smtpmail-send-queued-mail to send.
Modified by Stephen Cranefield <scranefield@infoscience.otago.ac.nz>,
22/6/99, to support SMTP Authentication by the AUTH=LOGIN mechanism.
See http://help.netscape.com/products/server/messaging/3x/info/smtpauth.html
Rewritten by Simon Josefsson to use same credential variable as AUTH
support below.
Modified by Simon Josefsson <jas@pdc.kth.se>, 22/2/99, to support SMTP Authentication by the AUTH mechanism. See https://www.ietf.org/rfc/rfc2554.txt
Defined variables (19)
smtpmail-auth-supported | List of supported SMTP AUTH mechanisms. |
smtpmail-code-conv-from | Coding system for encoding outgoing mail. |
smtpmail-debug-info | Whether to print info in buffer *trace of SMTP session to <somewhere>*. |
smtpmail-debug-verb | Whether this library sends the SMTP VERB command or not. |
smtpmail-default-smtp-server | Specify default SMTP server. |
smtpmail-local-domain | Local domain name without a host name. |
smtpmail-mail-address | Value to use for envelope-from address for mail from ambient buffer. |
smtpmail-queue-dir | Directory where ‘smtpmail.el’ stores queued mail. |
smtpmail-queue-index-file | File name of queued mail index. |
smtpmail-queue-mail | Non-nil means mail is queued; otherwise it is sent immediately. |
smtpmail-retries | The number of times smtpmail will retry sending when getting transient errors. |
smtpmail-sendto-domain | Local domain name without a host name. |
smtpmail-servers-requiring-authorization | Regexp matching servers that require authorization. |
smtpmail-smtp-server | The name of the host running SMTP server. |
smtpmail-smtp-service | SMTP service port number. |
smtpmail-smtp-user | User name to use when looking up credentials in the authinfo file. |
smtpmail-store-queue-variables | If non-nil, store SMTP variables when queueing mail. |
smtpmail-stream-type | Type of SMTP connections to use. |
smtpmail-warn-about-unknown-extensions | If set, print warnings about unknown SMTP extensions. |