unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 52205@debbugs.gnu.org
Subject: bug#52205: Allow configuring multiple mail accounts for smtpmail.el
Date: Mon, 13 Dec 2021 19:20:54 +0000	[thread overview]
Message-ID: <87ee6g71m1.fsf@posteo.net> (raw)
In-Reply-To: <87ee6s6vow.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 04 Dec 2021 20:01:35 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Let's say I open a mail buffer with C-x m.  My default address is
>> inserted into the "From:" header. If I were to write my message, and
>> then decide to use my secondary address, I would either have to modify
>> the X-Message-SMTP-Method manually, or have it updated just before the
>> message is sent out.  The former is no improvement over the current
>> situation, and the second has the same potential for confusion, because
>> the user doesn't notice that the header is generated or updated.
>
> Or we could add a command like `message-update-smtp-method-header' and
> people could call that (or add it to their hooks) after altering their
> From (or whatever) headers.

So if the mechanism is supposed to be kept general (instead of just
checking the From header), how would this differ from the already
existing message-send-mail-hook?

-- 
	Philip Kaludercic





  reply	other threads:[~2021-12-13 19:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 19:45 bug#52205: Allow configuring multiple mail accounts for smtpmail.el Philip Kaludercic
2021-12-01  4:08 ` Lars Ingebrigtsen
2021-12-01  9:01   ` Philip Kaludercic
2021-12-01 19:21     ` Lars Ingebrigtsen
2021-12-01 20:15       ` Philip Kaludercic
2021-12-01 20:24         ` Lars Ingebrigtsen
2021-12-02 23:06           ` Philip Kaludercic
2021-12-03 16:17             ` Lars Ingebrigtsen
2021-12-04  9:12               ` Philip Kaludercic
2021-12-04 19:01                 ` Lars Ingebrigtsen
2021-12-13 19:20                   ` Philip Kaludercic [this message]
2021-12-14 13:41                     ` Lars Ingebrigtsen
2021-12-18 13:45                       ` Philip Kaludercic
2021-12-19 10:57                         ` Lars Ingebrigtsen
2021-12-19 21:59                           ` Philip Kaludercic
2021-12-22 12:20                             ` Lars Ingebrigtsen
2022-09-09 17:53                               ` Lars Ingebrigtsen

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=87ee6g71m1.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=52205@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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