ReplyWithHeaderMozilla icon indicating copy to clipboard operation
ReplyWithHeaderMozilla copied to clipboard

Headers are not placed at the top of the plain text reply (or not at all)

Open Filbuntu opened this issue 1 year ago • 7 comments

Hello

Thunderbird 128.4.2esr on Ubuntu 22.04 and 24.04 ReplyWithHeader (RWH) Version 3.3.0

TB was just upgraded to 128 from 115 (on Ubuntu LTS versions) and possibly RWH at the same time. Since then the headers in a plain text reply are not placed at the top of the email response. Sometimes they are missing (especially with a short email without many previous emails in the thread) or seemingly randomly placed in between previous email text. I tried to use different options in the preferences without success. The headers are correctly displayed in a forwarded email and rich-text reply email.

Thank you for any input!

Filbuntu avatar Nov 11 '24 19:11 Filbuntu

Interestingly forwarding a plain-text email works properly (headers but deletes two many >). Any tip?

Filbuntu avatar Nov 15 '24 20:11 Filbuntu

@Filbuntu Thanks for reaching out. I'm sorry for the delayed response. FYI, TB v125.* The later version has many internal changes. Also, RWH v3.* has been completely rewritten from the group to the WebExtension model. So, RWH v3 entirely operates based on string matching on plain-text email replies. Code reference: https://github.com/jeevatkm/ReplyWithHeaderMozilla/blob/7c503e52bdb164039886be7a8555a23054b986ea/modules/headers-i18n.mjs#L253-L276

If you could provide a few sample emails as attachments to jeeva (at) myjeeva (dot) com and locale info, I will analyze and improve the implementation.

jeevatkm avatar Nov 18 '24 19:11 jeevatkm

No worries! Thank you, jeevatkm, for your response and working on this helpful add-on! What kind of sample emails would you like? Original and/or reply email draft? Would you like it saved as txt or eml-file? Local info: You mean the setting in the TB, e.g. "Regional settings locale"?

Filbuntu avatar Nov 19 '24 12:11 Filbuntu

What kind of sample emails would you like? Original and/or reply email draft? Would you like it saved as txt or eml-file?

I need an original email in an EML file that I can reproduce the issue behavior at my end and apply the necessary fixes. (I hope the email content is not sensitive.)

Local info: You mean the setting in the TB, e.g. "Regional settings locale"?

Yes, the values I need to know are the TB regional locale and the RWH locale you’ve selected in the RWH Options.

jeevatkm avatar Nov 20 '24 05:11 jeevatkm

I can confirm. RWH 3.3.0 does not detect the "On 19.12.24 21:22, John Doe wrote:" line and does not add headers for replies.

mhchem avatar Dec 26 '24 09:12 mhchem

@mhchem Thanks for the feedback; I will investigate it.

jeevatkm avatar Dec 26 '24 20:12 jeevatkm

@jeevatkm Thanks a lot for working on this! Will you release a new version soon? It seems the current one is still 3.3.0. I am happy to wait a little bit longer before I look into a different solution.

Filbuntu avatar Feb 21 '25 17:02 Filbuntu

Will be released as part of v3.3.1 release.

Dev version is available here - PS: Please rename the file extension after the download from .zip to .xpi replywithheader-v3.3.1-dev.zip

jeevatkm avatar Nov 16 '25 00:11 jeevatkm