help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus Emacs Header


From: Emanuel Berg
Subject: Re: Gnus Emacs Header
Date: Tue, 31 Aug 2021 00:51:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Leo Butler wrote:

> The thing you are looking for is called a signature (headers
> play a different role, like setting the receiver (To:) and
> so on). The easiest thing to do is to create a signature
> file, ~/.signature.

Or just

  (setq message-signature "Död åt Tengil")

If you do this _and_ have a ~/.signature file with something
else, it seems `message-signature' wins. Maybe because the
.signature file is read at an earlier point in the Emacs
initialization process, so that gets overwritten when
initialization gets to the above `setq'.

> When it comes to setting up Gnus to send email via gmail, in
> addition to the information on the Emacs wiki, you can set
> an email header (X-Message-Smtp-Method). Here is a way to
> set the header and signature:
>
> (setq gnus-posting-styles
>        '((".*"
>           (name "Your Name")
>           (address "your@email.address")
>           (signature-file "~/.signature")
>           (X-Message-SMTP-Method "smtp smtp.gmail.com 587 
> some.one@gmail.com"))))

OK, what does that (X-Message-SMTP-Method) do and is it
necessary for Gnus/Gmail? If so it should be added to the
Emacs Wiki.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]