Eric Abrahamsen <e...@ericabrahamsen.net> writes:

> (setq message-send-mail-function 'message-send-mail-with-sendmail)
> (setq sendmail-program "msmtp")

Emacs is pretty good at talking to smtp servers.  You can simply add a
header like this to your message (e.g. via `gnus-posting-styles' or
`message-default-headers'):

    X-Message-Smtp-Method: smtp smtp.email.com 465 rasmus

For saving the sent mail, Gnus uses the GCC header.  I don't know what
you'd do in the case of plain message.el.

Rasmus

-- 
Slaa Patienten ihjel, saa siger Feberen Pas


Reply via email to