Web lists-archives.com

Re: how do you send mail to another user on a local debian machine

Teemu Likonen [2018-03-30 07:05:38+03] wrote:

> It seems to me that you want to use locally installed sendmail program
> (or compatible) for sending mail so you would configure Emacs like this:
>     (setq message-send-mail-function 'message-send-mail-with-sendmail)

Sorry, here's a correction. If you use Emacs's message-mode for
composing mail:

    (setq message-send-mail-function 'message-smtpmail-send-it)

If you use mail-mode instead:

    (setq send-mail-function 'smtpmail-send-it)

Emacs's default mail user agent can be configured with variable
mail-user-agent. I also suggest reading the documentation of all the
above variables. For example: C-h v message-send-mail-function RET

/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature