GNU bug report logs - #29427
Problem sending emails in message-mode after restart

Previous Next

Package: emacs;

Reported by: Emmanuel Boudreault <emmanuel.boudreault <at> polymtl.ca>

Date: Fri, 24 Nov 2017 17:35:02 UTC

Severity: normal

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Emmanuel Boudreault <emmanuel.boudreault <at> polymtl.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Problem sending emails in message-mode after restart
Date: Fri, 24 Nov 2017 17:09:10 +0100
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 <at> 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 <at> 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




This bug report was last modified 5 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.