unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus Emacs Header
Date: Tue, 31 Aug 2021 00:51:28 +0200	[thread overview]
Message-ID: <87bl5e4kcv.fsf@zoho.eu> (raw)
In-Reply-To: 87v93naq34.fsf@t14.reltub.ca

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	other threads:[~2021-08-30 22: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
2021-08-30 22:51   ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
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=87bl5e4kcv.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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).