Mail Redirect Extension incompatible with Epyrus Topic is solved
Moderator: athenian200
Mail Redirect Extension incompatible with Epyrus
Mail Redirect "allows to redirect (a.k.a. "remail") mail messages to other recipients."
https://addons.thunderbird.net/en-US/th ... lredirect/
There and on its homepage you can also see screenshots of the XT in action. It's working fine in TB 52.9.0 and is the only Add-On of its sort for legacy/ XUL based TB.
In latest Epyrus (tested in both, the Windows and the Mac builds), no entry shows up, neither in the context menu of a message, nor in the message menu in the title bar.
I was able to get at least the menu entries in Mail Redirect v.0.10.2 and below, but there is no functionality behind it. But by means of comparing the changes from v.0.10.2 to v.0.10.3, it might hopefully be possible and restore the menu entries in the latest v.0.10.9 to begin with...
... and then in a second step, pinpoint the spot(s) in its code that's blocking it from working in Epyrus.
If you could look at it, that would be most awesome.
Thanks,
Lee
https://addons.thunderbird.net/en-US/th ... lredirect/
There and on its homepage you can also see screenshots of the XT in action. It's working fine in TB 52.9.0 and is the only Add-On of its sort for legacy/ XUL based TB.
In latest Epyrus (tested in both, the Windows and the Mac builds), no entry shows up, neither in the context menu of a message, nor in the message menu in the title bar.
I was able to get at least the menu entries in Mail Redirect v.0.10.2 and below, but there is no functionality behind it. But by means of comparing the changes from v.0.10.2 to v.0.10.3, it might hopefully be possible and restore the menu entries in the latest v.0.10.9 to begin with...
... and then in a second step, pinpoint the spot(s) in its code that's blocking it from working in Epyrus.
If you could look at it, that would be most awesome.
Thanks,
Lee
Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
Re: Mail Redirect Extension incompatible with Epyrus
This would be up to the extension dev to have a look at, if they want to support Epyrus. The old adage: extensions extend the application, not the other way around.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Mail Redirect Extension incompatible with Epyrus
Hi Moonchild. The issue with that is that the dev isn't around anymore..
Certain Extensions have been adapted to work with Epyrus, by whoever, an XT's dev or other collaborator. Is there a manual - however brief - with steps to follow to make an incompatible TB Extension work with Epyrus?
Certain Extensions have been adapted to work with Epyrus, by whoever, an XT's dev or other collaborator. Is there a manual - however brief - with steps to follow to make an incompatible TB Extension work with Epyrus?
Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
Re: Mail Redirect Extension incompatible with Epyrus
How does that imply any obligation on anyone else to fix it for you? Epyrus is still under development and has a few rough edges; AFAIK it uses the same application ID as Thunderbird and should support installing extensions directly. If the extension is further broken despite that, you'll have to figure how to fix it yourself.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Mail Redirect Extension incompatible with Epyrus
Hi Moonbat. I don't mind trying to fix it myself and for that purpose was and am kindly asking where to start because right now I wouldn't know where. Obviously Epyrus does not 100% camouflage as Thunderbird in all aspects, otherwise all extensions WOULD run w/o any hick-ups, but not all do, see the Epyrus XT list.
No need to reply. I''ll see if someone else can give me a handler on where to start looking in the XT's code
No need to reply. I''ll see if someone else can give me a handler on where to start looking in the XT's code

Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
Re: Mail Redirect Extension incompatible with Epyrus
Install the extension in Epyrus, then observe the console for errors and look at the corresponding source files to see what's busted. Once you fix the error, you'll have to repackage the extension (making sure you don't zip up the top level directory in which its files are) and reinstall it. You can look at RealityRipple's archive of Mozilla documentation for reference.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Mail Redirect Extension incompatible with Epyrus
great, thank you, have started debugging. When I filter "redirect" in the Error Console, I only see one gFolderDisplay related error (red):
and three warnings (blue):
As a matter of fact, in mailredirect.js the XT distiguishes between Thunderbird and SeaMonkey.
mailredirect.js:Right now trying to figure out what the "gFolderDisplay is not yet initialized error" means. So far what I've found is:
Code: Select all
JavaScript Error: "MailredirectController cannot determine isCommandEnabled state for cmd_mailredirect, because gFolderDisplay is not yet initialized"
Source file: "chrome://mailredirect/content/mailredirect.js" line: 90
isCommandEnabled@chrome://mailredirect/content/mailredirect.js:90:15
goUpdateCommand@chrome://global/content/globalOverlay.js:64:17
SetupController/<@chrome://mailredirect/content/mailredirect.js:118:7
Code: Select all
No chrome package registered for chrome://mailredirect-os/skin/mailredirect.css
No chrome package registered for chrome://mailredirect-os/skin/mailredirect-subjectCol.css
No chrome package registered for chrome://mailredirect-os/skin/messageHeader.css
mailredirect.js:
gFolderDisplay is a variable on each main Thunderbird window, you need to find the right one first. The extension api does not run in the window context.
See the implementation of the mailTabs api for some details.
Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
Re: Mail Redirect Extension incompatible with Epyrus
There are significant differences between TB and Epyrus - you'll have to wait for the latter's creator athenian200 to help resolve the gFolderDisplay stuff. You could try sending him a private message, he's been busy and off the forums lately.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Mail Redirect Extension incompatible with Epyrus
Done! And good we've arrived at the realization that the extension is not (further) broken, but rather that in this case Epyrus requires a fix or implementation.
So we'll wait patiently and see when athenian200 can spare some coding/ debugging time for this.
So we'll wait patiently and see when athenian200 can spare some coding/ debugging time for this.
Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
- athenian200
- Contributing developer
- Posts: 1010
- Joined: 2018-10-28, 19:56
- Location: Georgia
Re: Mail Redirect Extension incompatible with Epyrus
I am only aware of this thread because I got an e-mail notification of a PM. But yeah, honestly, I don't have the first clue what is going on with this or how you would adapt the extension to Epyrus. The differences between Epyrus and Thunderbird are mostly in the frontend code, and I haven't worked with that very much because I don't know JavaScript well.
I'm just want you to know that I'm aware of the issue and am willing to look into it. Honestly, I think the main reason I'm struggling is that I got out of the habit of logging into the forums, and this is where I really need to be in order to be reminded to work on Epyrus.
I'm just want you to know that I'm aware of the issue and am willing to look into it. Honestly, I think the main reason I'm struggling is that I got out of the habit of logging into the forums, and this is where I really need to be in order to be reminded to work on Epyrus.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind
Re: Mail Redirect Extension incompatible with Epyrus
Hi athenian200 - good to see you back, and thanks for the insights.
From what you write I conclude that for now not even you would know yet how to tackle this 'gFolderDisplay' issue, so I hope that someone with some knowledge about that shows up and chips in
From what you write I conclude that for now not even you would know yet how to tackle this 'gFolderDisplay' issue, so I hope that someone with some knowledge about that shows up and chips in

Intel MacBook (MacBookPro15,4) with macOS Ventura, Monterey and Big Sur
- back2themoon
- Moon Magic practitioner
- Posts: 2227
- Joined: 2012-08-19, 20:32
Re: Mail Redirect Extension incompatible with Epyrus
Subscribing to the Epyrus forum for notifications, should alert/email you for every new thread created.athenian200 wrote: ↑2023-05-30, 21:30I am only aware of this thread because I got an e-mail notification of a PM... ...I got out of the habit of logging into the forums, and this is where I really need to be in order to be reminded to work on Epyrus.
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64