From: Leo Butler <leo.butler@umanitoba.ca>
To: Jason Sanroma <jason@sanroma.net>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Gnus Emacs Header
Date: Mon, 30 Aug 2021 10:51:11 -0500 [thread overview]
Message-ID: <87v93naq34.fsf@t14.reltub.ca> (raw)
In-Reply-To: <CAFdJqtT2xd4_KPTzu8pJBwGb2Abne-Oawe_JRjsX3rPwUMgBsQ@mail.gmail.com> (Jason Sanroma's message of "Sat, 28 Aug 2021 23:38:48 -0400")
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
next prev parent reply other threads:[~2021-08-30 15:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-29 3:38 Gnus Emacs Header Jason Sanroma
2021-08-29 3:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-29 5:40 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-29 9:49 ` Jean Louis
2021-08-29 10:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-29 12:24 ` Jean Louis
2021-08-29 16:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-29 18:43 ` James Cloos
2021-08-29 20:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-30 15:51 ` Leo Butler [this message]
2021-08-30 22:51 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-30 22:55 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-31 1:50 ` Leo Butler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v93naq34.fsf@t14.reltub.ca \
--to=leo.butler@umanitoba.ca \
--cc=help-gnu-emacs@gnu.org \
--cc=jason@sanroma.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).