Subject: bug#53412: wrappin text lines is not enough, headers shoould be split too

From: Andreas Schwab <[email-masked]>
Date: Mon, 07 Mar 2022 18:27:44 +0100

On Mär 07 2022, Lars Ingebrigtsen wrote:

> Francesco Potortì <[email-masked]> writes:
>
>>>> 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?=
>>>
>>>That looks correct to me?
>>
>> 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.
>
> They see literally that displayed?  Then it sounds like the mail you're
> sending out has been double-rfc2047-encoded.

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

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."