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

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

Re: Gnus Emacs Header


From: Leo Butler
Subject: Re: Gnus Emacs Header
Date: Mon, 30 Aug 2021 10:51:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Jason Sanroma <jason@sanroma.net> writes:

> Hello,
>
> I would like to have a header added to every email I send. Similar to the
> RMS NSA/FBI note. I do not know how to get this added.
>
> Does anyone have a suggestion?

Jason,
How did you get on with setting up Gnus to read news and email?

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. See

https://www.emacswiki.org/emacs/GnusTutorial

(search for .signature)

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"))))

See:

https://www.gnu.org/software/emacs/manual/html_node/gnus/FAQ-5_002d3.html

Note that the FAQ 5 covers many of your questions.

Best,
Leo





reply via email to

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