mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
tweak(notmuch): include the user's name in From: header
The notmuch/compose function allows selecting between the email addresses that the user has configured, but the email address is used directly in the From header. Messages display much nicer in people's inbox when the From contains a name in addition to an emeail address, so construct the From header with the user's name as well as the chosen email address. Signed-off-by: Stephen Brennan <stephen@brennan.io>
This commit is contained in:
committed by
Henrik Lissner
parent
058cb20a12
commit
ed27f91822
@@ -116,7 +116,9 @@
|
||||
(notmuch-mua-mail
|
||||
nil
|
||||
nil
|
||||
(list (cons 'From (completing-read "From: " (notmuch-user-emails))))))
|
||||
(list (cons 'From (message-make-from
|
||||
(notmuch-user-name)
|
||||
(completing-read "From: " (notmuch-user-emails)))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +notmuch/open-message-with-mail-app-notmuch-tree ()
|
||||
|
Reference in New Issue
Block a user