From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: rameiko87@posteo.net
Cc: 68686@debbugs.gnu.org
Subject: bug#68686: [Bug] smtpmail-send-queued-mail ignores some headers of the message it's sending!
Date: Wed, 24 Jan 2024 17:01:22 +0100 [thread overview]
Message-ID: <87v87i7mb1.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <c94e2bfefb2d89f3de85f363e669a809@posteo.net> (rameiko's message of "Wed, 24 Jan 2024 12:50:11 +0000")
rameiko87@posteo.net writes:
> Disclaimer: I use Rmail on Emacs, and Message-Mode.
>
> Bug Part 1:
>
> The From: header is ignored (from the message as saved in 'queued
> email folder') when sending with smtpmail-send-queued-mail, and takes
> the value of user-mail-address when this wasn't previously customized
> by the user. This is really worrisome! What else is ignored and
> rewritten without warning when invoking smtpmail-send-queued-mail?
This is not what I observe. Like you, I have a one word (without dot)
hostname: "computer". Then, I do:
- emacs -Q
- M-: (setq send-mail-function 'smtpmail-send-it)
- M-: (setq smtpmail-queue-mail t)
- M-x message-mail
[ here the "From:" is set to
manuel@computer.mail-host-address-is-not-set]
- I fill "To:" and 'C-c C-c'
[ now another mail… ]
- M-x message-mail
[ I fill "To:" and change the "From:" to manuel@elsewhere ]
- 'C-c C-c'
[ do send now… ]
- M-x smtpmail-send-queued-mail
Both mails are sent and when I retrieve them both have the "From:"
exactly how it was: respectively
manuel@computer.mail-host-address-is-not-set and manuel@elsewhere
> Followup to Bug Part 1:
>
> It would be interesting to figure out whether this happens also when
> user-mail-address had been previously customized by the user.
>
> Bug Part 2:
>
> This discrepancy between the behaviour of queued-sending and immediate
> sending (I use the default functions for the most current version of
> Emacs as of today) I consider to be a bug on itself. Because not doing
> things consistently confuses the user (even not doing the *wrong*
> thing consistently confuses the user. In this case the wrong thing is
> rewriting the From: header of every email).
I have tested the same recipe as above (without setting
smtpmail-queue-mail to t) and it works correctly for me and the "From:"
of the two retrieved mails are also the same. Could you test this
recipe?
--
Manuel Giraud
next prev parent reply other threads:[~2024-01-24 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 12:50 bug#68686: [Bug] smtpmail-send-queued-mail ignores some headers of the message it's sending! rameiko87
2024-01-24 16:01 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-24 17:25 ` rameiko87
2024-01-25 8:31 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 9:58 ` rameiko87
2024-01-25 10:48 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-26 11:21 ` rameiko87
2024-01-26 15:37 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-27 1:09 ` rameiko87
2024-01-27 11:25 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v87i7mb1.fsf@ledu-giraud.fr \
--to=bug-gnu-emacs@gnu.org \
--cc=68686@debbugs.gnu.org \
--cc=manuel@ledu-giraud.fr \
--cc=rameiko87@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.