unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

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