I've been using notmuch
, via smtpmail.el
and getmail
to manage my emails on Emacs, and it all works, although I'm annoyed at how I need to change the name beside my <email@address>
(defined by user-mail-address
) on the From:
header.
I've changed user-full-name
in my settings.el
, following the examples here:
https://www.emacswiki.org/emacs/SendingMail
https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Outgoing-mail.html
But whenever I go write a new messsage or reply to one, From:
still shows my debian username.
user-mail-address
? – NickD Jul 31 '20 at 14:40settings.el
, i've edited my question to reflect that. But what I'm looking for is how to change the name beside that on theFrom:
mail heading. – theblacksquid Jul 31 '20 at 15:57user-full-name
just before you try to compose the mail:C-h v user-full-name RET
. If that is not correct, restart emacs and check again. If it is correct, I would instrument the functionmessage-make-from
with edebug and try to compose an email. When you hit the breakpoint, check a backtrace withd
and see who called what and how: in particular, ifmessage-make-from
is called without an argument, it should useuser-full-name
; if it is called with an argument, check the callers. – NickD Jul 31 '20 at 17:15(message-make-from)
withC-x C-e
after the closing paren. It should return the "right" thing: assuminguser-full-name
is "John Smith" anduser-email-address
is "jsmith@jsmith.net", it should returnJohn Smith <jsmith@jsmith.net>
. OTOH, if you callmessage-make-from
with an argument like this:(message-make-from "foo")
it is going to returnfoo <jsmith@jsmith.net>
. – NickD Jul 31 '20 at 20:45