unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29427: Problem sending emails in message-mode after restart
@ 2017-11-24 16:09 Emmanuel Boudreault
  2017-11-24 18:33 ` Eric Abrahamsen
  2017-11-26 15:21 ` Basil L. Contovounesios
  0 siblings, 2 replies; 9+ messages in thread
From: Emmanuel Boudreault @ 2017-11-24 16:09 UTC (permalink / raw)
  To: 29427

Hello,

I seem to be having an odd bug sending e-mails. I've configured msmtp to
send e-mails. When I first send an e-mail in emacs, 'send-mail-function'
isn't defined, I get a prompt, I choose transport and everything works
as expected. The msmtp log shows that the from field is properly set to
'emmanuel.boudreault@polymtl.ca'. This keeps working until emacs is
restarted.

When I restart emacs, 'send-mail-function' is defined. When I try to
send an e-mail, it fails saying the From field is incorrect. When I look
at the From field in the msmtp log it shows that emacs generated a From
field even though there was a valid one in the e-mail header. The From
field is: 'manu@soma.i-did-not-set--mail-host-address--so-tickle-me'.
The 'send-mail-function' is set to '(quote sendmail-send-it)'.

I'm using emacs 25.3, using notmuch-message-mode. I've looked into the
elisp and it seems that the problem arises in the emacs message mode
(message.el) used by notmuch-mesage-mode. Any help would be appreciated.


Thanks for you time,
Emmanuel





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

end of thread, other threads:[~2019-09-22 23:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-24 16:09 bug#29427: Problem sending emails in message-mode after restart Emmanuel Boudreault
2017-11-24 18:33 ` Eric Abrahamsen
2017-11-25 17:19   ` Basil L. Contovounesios
2017-11-26 15:21 ` Basil L. Contovounesios
2017-11-26 19:33   ` Emmanuel Boudreault
2017-11-27  1:37     ` Glenn Morris
2017-11-27 23:08       ` Eric Abrahamsen
2019-09-22 23:13         ` Lars Ingebrigtsen
2019-05-13 21:11       ` Lars Ingebrigtsen

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