smtpmail

Homepage: https://www.gnu.org/software/emacs

Author: Tomoji Kagatani

Summary

Simple SMTP protocol (RFC 821) for sending mail

Commentary

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 ,
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 , 22/2/99, to support SMTP
Authentication by the AUTH mechanism.
See https://www.ietf.org/rfc/rfc2554.txt

Dependencies

Reverse dependencies