qiqitori / reply_as_original_recipient

This Thunderbird extension automatically changes the "From" field in replies to whatever the original sender's email had in "To" or "CC", but only if exactly one email address from all "To" and "CC" headers matches a configurable pattern.
https://blog.qiqitori.com/?p=194
Mozilla Public License 2.0
19 stars 10 forks source link

Settings dialog #1

Open SamuelKirschner opened 6 years ago

SamuelKirschner commented 6 years ago

I had a little time yesterday to change two more things in the beta:

– A small configuration dialog to enter the pattern. Including a description, but it is only in English. – Raising the version to 69.*, just so the beta don’t stop working. This is no meant as a stable solution.

SamuelKirschner commented 6 years ago

P.S.: I had to choose an existing branch. AFAIK, you can accept the pull request to another branch e.g. a new "1.3" branch.

girst commented 5 years ago

this is exactly what i needed, thanks! the settings dialog does not seem to work for me; it is always empty. I've manually added the about:config flag with my pattern and this works. i'm using thunderbird 60.

girst commented 5 years ago

this does not appear to work when clicking "reply list". it'll be great if you could extend the composeType list: (i guess only ReplyToList is necessary for my use case, but why not all available?)

return (composeType == availableComposeTypes.ReplyToSender || // normal reply
        composeType == availableComposeTypes.Reply || // dunno
        composeType == availableComposeTypes.ReplyToGroup || // dunno
        composeType == availableComposeTypes.ReplyToSenderAndGroup || // dunno
        composeType == availableComposeTypes.ReplyWithTemplate || // dunno
        composeType == availableComposeTypes.ReplyToList || // list reply
        composeType == availableComposeTypes.ReplyAll) // reply to all

EDIT: ok, this (addon? patch?) breaks replying to lists (ignores reply-to), so that probably requires some work.