speedball2001 / identitychooser-mx

A thunderbird mailextension for explicitely choosing the correct sender identity before opening an email editor.
GNU General Public License v2.0
27 stars 5 forks source link

mailto links #41

Closed martinr63 closed 2 years ago

martinr63 commented 2 years ago

when I click on a mailto link or send a mail fron an other application, the chooser doesn't popup

Output from error console:

IdentityChooser#initUI -- begin background.js:94:13
IdentityChooser#initUI: window: messageCompose background.js:95:13
IdentityChooser#initUI -- end background.js:121:13
speedball2001 commented 2 years ago

Identity Chooser can't intercept mailto-link since Thunderbird doesn't provide any hooks into them. There's nothing I can do about that.

MoralCode commented 1 year ago

Identity Chooser can't intercept mailto-link since Thunderbird doesn't provide any hooks into them. There's nothing I can do about that.

just came here because i clicked a mailto link and figured it would be nice to get a prompt with which identity to use.

One potential, somewhat hacky workaround I thought of that should work could be:

this is probably too complicated and depends on whether theres a way to send mailto links to a specific app other than the one configured to handle them. its also kind of a workaround for the fact that From information is explicitly to be ignored in the mailto spec (see last paragraph of section 3) so you cant just modify the mailto link to use a particular from address.

maybe this is useful though?

MoralCode commented 1 year ago

seems like thunderbird will be overhauling the UI and technical debt soon https://blog.thunderbird.net/2023/02/the-future-of-thunderbird-why-were-rebuilding-from-the-ground-up/ so maybe they'll allow mailto links to be a thing thats part of the API

speedball2001 commented 1 year ago

This is great news. We'll see what will be possible in the feature.