unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Keeping multiple configurations for outgoing mail
@ 2021-10-13 12:43 Andrea Monaco
  2021-10-13 12:59 ` Robert Pluim
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrea Monaco @ 2021-10-13 12:43 UTC (permalink / raw)
  To: emacs-devel


Hello,


it seems to me that there is no way on vanilla emacs to keep multiple
configurations for outgoing mail and choose which one to use when
sending.  (Or maybe have a default address on C-c C-c and choose which
one on C-u C-c C-c).

Is this correct?  If so, I would gladly add this feature.



Let me know,
 
Andrea Monaco



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Keeping multiple configurations for outgoing mail
  2021-10-13 12:43 Keeping multiple configurations for outgoing mail Andrea Monaco
@ 2021-10-13 12:59 ` Robert Pluim
  2021-10-13 13:03 ` Lars Ingebrigtsen
  2021-10-13 16:09 ` Valtteri Vuorikoski
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2021-10-13 12:59 UTC (permalink / raw)
  To: Andrea Monaco; +Cc: emacs-devel

>>>>> On Wed, 13 Oct 2021 14:43:51 +0200, Andrea Monaco <andrea.monaco@autistici.org> said:

    Andrea> Hello,


    Andrea> it seems to me that there is no way on vanilla emacs to keep multiple
    Andrea> configurations for outgoing mail and choose which one to use when
    Andrea> sending.  (Or maybe have a default address on C-c C-c and choose which
    Andrea> one on C-u C-c C-c).

    Andrea> Is this correct?  If so, I would gladly add this feature.

Itʼs all kind of there already. See (info "(message) Mail Variables")
for a description of X-Message-SMTP-Method which you can combine with
'gnu-posting-styles'

But thereʼs not one blessed way to do it, because there are so many
different ways to read and send email in Emacs. At a minimum you'd
have to add support to message-mode and mail-mode.

Robert
-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Keeping multiple configurations for outgoing mail
  2021-10-13 12:43 Keeping multiple configurations for outgoing mail Andrea Monaco
  2021-10-13 12:59 ` Robert Pluim
@ 2021-10-13 13:03 ` Lars Ingebrigtsen
  2021-10-13 16:09 ` Valtteri Vuorikoski
  2 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-13 13:03 UTC (permalink / raw)
  To: Andrea Monaco; +Cc: emacs-devel

Andrea Monaco <andrea.monaco@autistici.org> writes:

> it seems to me that there is no way on vanilla emacs to keep multiple
> configurations for outgoing mail and choose which one to use when
> sending.  (Or maybe have a default address on C-c C-c and choose which
> one on C-u C-c C-c).
>
> Is this correct?  If so, I would gladly add this feature.

I think that's correct.  Having a command that inserts different
X-Message-SMTP-Method headers in message-mode might be nice.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Keeping multiple configurations for outgoing mail
  2021-10-13 12:43 Keeping multiple configurations for outgoing mail Andrea Monaco
  2021-10-13 12:59 ` Robert Pluim
  2021-10-13 13:03 ` Lars Ingebrigtsen
@ 2021-10-13 16:09 ` Valtteri Vuorikoski
  2021-10-13 18:10   ` Eric Abrahamsen
  2 siblings, 1 reply; 5+ messages in thread
From: Valtteri Vuorikoski @ 2021-10-13 16:09 UTC (permalink / raw)
  To: Andrea Monaco; +Cc: emacs-devel

On Wed, Oct 13, 2021 at 02:43:51PM +0200, Andrea Monaco wrote:
> it seems to me that there is no way on vanilla emacs to keep multiple
> configurations for outgoing mail and choose which one to use when
> sending.  (Or maybe have a default address on C-c C-c and choose which
> one on C-u C-c C-c).
> 
> Is this correct?  If so, I would gladly add this feature.

You may want to look at the gnus-alias package for inspiration. It is
rather maximalist, but provides functionality on par with
Thunderbird's multi-identity support.

https://github.com/hexmode/gnus-alias is the version I have been
using, there a few forks floating around.

 -Valtteri
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Keeping multiple configurations for outgoing mail
  2021-10-13 16:09 ` Valtteri Vuorikoski
@ 2021-10-13 18:10   ` Eric Abrahamsen
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Abrahamsen @ 2021-10-13 18:10 UTC (permalink / raw)
  To: emacs-devel

Valtteri Vuorikoski <vuori@notcom.org> writes:

> On Wed, Oct 13, 2021 at 02:43:51PM +0200, Andrea Monaco wrote:
>> it seems to me that there is no way on vanilla emacs to keep multiple
>> configurations for outgoing mail and choose which one to use when
>> sending.  (Or maybe have a default address on C-c C-c and choose which
>> one on C-u C-c C-c).
>> 
>> Is this correct?  If so, I would gladly add this feature.
>
> You may want to look at the gnus-alias package for inspiration. It is
> rather maximalist, but provides functionality on par with
> Thunderbird's multi-identity support.
>
> https://github.com/hexmode/gnus-alias is the version I have been
> using, there a few forks floating around.

And, for completion, there's gnus-pers:

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

I haven't tried using any of these.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-13 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 12:43 Keeping multiple configurations for outgoing mail Andrea Monaco
2021-10-13 12:59 ` Robert Pluim
2021-10-13 13:03 ` Lars Ingebrigtsen
2021-10-13 16:09 ` Valtteri Vuorikoski
2021-10-13 18:10   ` Eric Abrahamsen

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