Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works on some mail accounts, but not on others #19

Open
the-solipsist opened this issue Dec 13, 2020 · 6 comments
Open

Works on some mail accounts, but not on others #19

the-solipsist opened this issue Dec 13, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@the-solipsist
Copy link

I'm facing a problem where ChangeQuote works for 2 of my mail accounts, but not the 3rd.

I checked the mail headers to see if the Date: headers are different, but that wasn't the case. I sent a test e-mail from a Gmail address to all 3 e-mails.

I have ChangeQuote use "Customized header reply", with the format: <%%7> [%%5]:, and "Use long or customized format in date field" selected, along with the "Customized format (sender)" set to: %Y-%m-%d | %H:%i:%s %z.

The Date: header in that test e-mail in all three account reads:
Date: Sun, 13 Dec 2020 01:15:10 +0530

But when I press Ctrl+R, the reply header format is different for one of the mail accounts:
Account 1: <name@example.com> [Sun Dec 13 2020 01:15:10 GMT+0530 (India Standard Time)]:
Account 2: <name@example.com> [2020-12-13 | 01:15:10 +0530]:
Account 3: <name@example.com> [2020-12-13 | 01:15:10 +0530]:

I can't seem to figure out what about Account 1 is causing this problem. I checked all the settings in "Account Settings", but there seem to be no significant differences between the three accounts.

@caligraf caligraf added the bug Something isn't working label Sep 14, 2021
@georg-d
Copy link

georg-d commented Nov 14, 2021

Same here; it's also 1st Account that ignores custom date/time format %y-%m-%d %H:%i (i.e. ISO format) but instead writes in the long DE formatting variant like e.g. Sat Nov 13 2021 20:24:44 GMT+0100 (Mitteleuropäische Normalzeit) I am using TB v91.3.0 and changeQuote v1.5.3
Side note: In TB 91, you can change the visualized order of accounts, but that does not make a difference concerning this issue, so I guess the technical order of accounts remains unchanged.

@the-solipsist
Copy link
Author

Has anyone found any workaround?

@the-solipsist
Copy link
Author

For the moment, using the Smart Templates add-on is a potential workaround. The free version of the add-on doesn't allow changing date formats, but in the paid version that's possible.

@caligraf
Copy link
Owner

The add-on ChangeQuote has been rewritten for Thunderbird 115, could you test with the last version 1.7.9 ?
https://github.com/caligraf/ChangeQuote/releases/download/1.7.9/ChangeQuote.xpi

@the-solipsist
Copy link
Author

This works great, thanks!

One bug I've noticed: Adding the < character before %%7, i.e., while writing <%%7>, makes the email address disappear.

@caligraf
Copy link
Owner

caligraf commented Oct 28, 2023

This is because the < and > characters are ‘reserved’ characters in HTML, so it is interpreted as a HTML tag wxxx@xxx.yyy which does not exist so it prints nothing.
You need to use &lt; instead of < and &gt; instead of > when you really want to display a '<' or '>'.
example:
to have : John Smith <johnsmith@xxxx.com>
you need to put : %%6 &lt;%%7&gt;
to have John Smith <johnsmith@xxxx.com>
you need to put : <b>;%6 &lt;%%7&gt </b>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants