all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to dynamically select msmtp profile when sending a message?
@ 2024-06-12 21:02 Adham Omran
  2024-06-13 10:18 ` Arash Esbati
  0 siblings, 1 reply; 6+ messages in thread
From: Adham Omran @ 2024-06-12 21:02 UTC (permalink / raw)
  To: help-gnu-emacs

I am trying to set up Emacs to send from multiple accounts, but I am
facing two issues.

In my `/etc/msmtprc` configuration I have two accounts.

1. If one if the accounts is named `default` it always uses and never
automatically picks the correct account to send from based on my FROM
header.

2. If I rename `default` to anything else like `personal` Emacs just
fails to find anything to send from and throws

```
sendmail: account default not found in /etc/msmtprc
```

I want to be able to choose what account to send from, I fear this is
somehow hard coded or not under user choice.

Adham Omran



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

end of thread, other threads:[~2024-06-14  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 21:02 How to dynamically select msmtp profile when sending a message? Adham Omran
2024-06-13 10:18 ` Arash Esbati
2024-06-13 13:32   ` Adham Omran
2024-06-13 14:35     ` Arash Esbati
     [not found]       ` <871q506apa.fsf@gilgamesh.mail-host-address-is-not-set>
2024-06-13 17:24         ` Arash Esbati
2024-06-14  5:32           ` Bob Newell

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.