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

thunderbird-addon-subaddress-reply does not work #3

Open
JAtC-nl opened this issue Sep 29, 2022 · 3 comments
Open

thunderbird-addon-subaddress-reply does not work #3

JAtC-nl opened this issue Sep 29, 2022 · 3 comments

Comments

@JAtC-nl
Copy link

JAtC-nl commented Sep 29, 2022

I have my own e-mail domain (say @surname.org) and have configured the catch all feature. My standard address is [email protected]. So if some one sends a mail to [email protected] it is delivered in my thunderbird inbox, also are mails to [email protected] delivered to my inbox.
Without your add-on, a reply to a mail in my inbox which is addressed to [email protected] is send from the address [email protected]. Installing your add-on does not change this behavior.
I installed the add-on because I would like to see [email protected] in stead of [email protected] as sender in the above example.
Kind regards Jan Arnoud ten Cate

@JAtC-nl
Copy link
Author

JAtC-nl commented Sep 29, 2022

Ah, I see, it works as advertised with [email protected] but not with [email protected]. Could you make the add-on work with every *@surname.org?

@CrysK
Copy link

CrysK commented Jan 10, 2023

I can only agree with that.
An extension to @.surname.org would also be important for me resp. *@ab.surname.org.

Anyway, I do not understand the restriction. It has no use at all.

@Johann-Tree
Copy link

To be able to use a . in addition to - and + sign before the @ you can change the line 44 in background.js to the following:
const subaddressRegex = new RegExp(identityMailUser + "[\-+\.].+@" + identityMailDomain, "i");

I tried it out and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants