all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Francesco Potortì" <pot@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 53412@debbugs.gnu.org
Subject: bug#53412: wrappin text lines is not enough, headers shoould be split too
Date: Mon, 07 Mar 2022 18:36:48 +0100	[thread overview]
Message-ID: <87r17doea7.fsf@tucano.isti.cnr.it> (raw)
In-Reply-To: <87r17dr7u7.fsf@igel.home> (schwab@linux-m68k.org)

FP:
>>>>> If there is an overlong header, other headers which are utf-8
>>>>> escaped are not sent correctly, and the recipient sees something
>>>>> like this:
>>>>>
>>>>> Subject: test =?utf-8?Q?=C3=A0?= b c
>>>>>  =?utf-8?Q?=C3=AC?=

LI:
>>>>That looks correct to me?

FP:
>>> No, if that's what the recipent sees in their inbox.  I don't know
>>> why, but mail sent by Emacs with an overlong header (whichever header)
>>> ends up with recipients seeing that string in their MUA.

LI:
>> They see literally that displayed?  Then it sounds like the mail you're
>> sending out has been double-rfc2047-encoded.

AS:
>I would think this happens because of the call to mml-to-mime in the
>mail-send-hook he uses.

Sure, that's it.  This happens when there is an overlong header line and mml-to-mime is in the mail-send-hook.

mml-to-mime in the mail-send-hook is there because without it overlong text lines would go unbroken





      parent reply	other threads:[~2022-03-07 17:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 15:16 bug#53412: 27.1; sendmail does not wrap overlong lines Francesco Potortì
2022-01-21 19:24 ` Eli Zaretskii
2022-02-20 12:42 ` Lars Ingebrigtsen
2022-03-07 12:35 ` bug#53412: wrappin text lines is not enough, headers shoould be split too Francesco Potortì
2022-03-07 13:11 ` Francesco Potortì
2022-03-07 15:38   ` Lars Ingebrigtsen
2022-03-07 15:48     ` Francesco Potortì
2022-03-07 15:57       ` Lars Ingebrigtsen
2022-03-07 17:27         ` Andreas Schwab
2022-03-07 17:31           ` Lars Ingebrigtsen
2022-03-07 17:36           ` Francesco Potortì [this message]

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=87r17doea7.fsf@tucano.isti.cnr.it \
    --to=pot@gnu.org \
    --cc=53412@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.org \
    /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.