Quantcast
Channel: MesQuilla - Forum: FiltaQuilla
Viewing all 21 articles
Browse latest View live

DirtySox on FiltaQuilla could not be installed in TB 38.6.0.

$
0
0

Greetings!
I just realized that my FiltaQuilla was not working. I tried installing v1.2.0 and Thunderbird says:
Filtaquilla could not be installed because it is not compatible with Thunderbird 38.6.0.

Help, please!


rkent on FiltaQuilla could not be installed in TB 38.6.0.

$
0
0

Where did you get FiltaQuilla? If you just search for FiltaQuilla in Thunderbird, it should download the latest version, and there are then hooks to install it regardless of the specified "max version" in the addon. If you try to install from a file, the addon "max version" will limit you.

Addons in Thunderbird are "compatible by default" which means that they will install even if the "max version" is violated. But this only works if you install them from the web, not from a file.

skywave on Filter action "Move Later" broken (by TB changes)?

$
0
0

Hello forum & rkent,

Since update to Thunderbird 38.7.0 the filter Move Later stopped working. When I press to Run - Thunderbird pops a message saying that an error has ocurred and asking if I want to continue exceuting filters. Whats the last version of Thunderbird that works with FiltaQuilla 1.3.1. Thanks in advance,

Pedro Pereira

rkent on Filter action "Move Later" broken (by TB changes)?

$
0
0

I am not aware of any specific issues with "Move Later" in recent Thunderbird, and I would not expect the update to 38.7.0 (or the more recent 38.7.2) to cause issues, as the changes from the previous release 38.6.0 are quite minor and mostly affect web-related parts of the program.

"Move Later" is fragile behavior since it is trying to kludge something that really is not well supported in the core Thunderbird, so lots of subtle changes could cause it to not work.

mandriospo on Global search including "Reply-To" value

$
0
0

Is it possible to search through other messages by header "Reply-To" with FiltaQuilla?

rkent on Global search including "Reply-To" value

mandriospo on Global search including "Reply-To" value

$
0
0

I know about Custom headers. I have already added "Reply-To" header to that list. Unfortunately this solution is not good enough for me because each time I want to perform a search I have to go CTRL+SHIFT+F, select "Reply-To" search condition and enter search term which takes some times. All I want is make it as simple as possible. For example it could be some button on the Thunderbird grid which could perform global search including specified message headers (like Reply-To). Any idea?

robin on Filter action "Move Later" broken (by TB changes)?

$
0
0

Same issue at me. Thunderbird 45.1.0
In the Error console, every run of a filter with "Move Later" action causes an error message:
"ReferenceError: GetMsgFolderFromUri is not defined
Source file: chrome://filtaquilla/content/filtaquilla.js
Line: 772"
Indeed, filtaquilla@mesquilla.com.xpi/content/filtaquilla.js line #772:
let dstFolder = GetMsgFolderFromUri(aActionValue, false);
and https://bugzilla.mozilla.org/show_bug.cgi?id=1043819 says that
"The function is gone in Thunderbird 31, see bug 889022. Import the MailUtils JavaScript Module with |Components.utils.import("resource:///modules/MailUtils.js");| abnd replace the calls of |GetMsgFolderFromUri| with |MailUtils.getFolderForURI|."

This seemed quite straightforward, so I gave it a try. I made these modifications in my local installed .xpi file and it really fixed MoveLater. Meantime I noticed that GetMsgFolderFromUri() is used by the implementation of CopyAsRead action, too. I don't use that, but if CopyAsRead is also broken, then a similar modification could fix that too.


rkent on Filter action "Move Later" broken (by TB changes)?

$
0
0

I'm working on an updated version of Filtaquilla (1.3.2) that addresses some breakages caused by changes to the core Thunderbird code. This issue should be fixed when that releases, which should be in less than a week.

taa on HOW can I process body of email with external program ???

$
0
0

Hi Kent,

With all of the changes to TB since this six-year old thread was started, have there been improvements to TB that would now allow FiltaQuilla to access a message body?

YodelingHoover on Need to add recipient, NOT sender, to addr book in filter action

$
0
0

I need a filter action to run when an incoming email is added to a folder, which adds that email's recipient to a specific address book. I even tried to come up with some javascript that would do this, but the MDN javascript documentation is 100% impenetable, just as unhelpful as could possibly be (and I programmed websites in javascript for 10 years, it's not like I'm not capable of understanding it). Is there some way to do this?

rkent on Need to add recipient, NOT sender, to addr book in filter action

$
0
0

The sample JS for a filter action is shown here:

for (let index = 0; index < msgHdrs.length; index++)
{
let hdr = msgHdrs.queryElementAt(index, Ci.nsIMsgDBHdr);
hdr.subject = "[Hello, world] " + hdr.subject;
}

that is from http://mesquilla.com/extensions/filtaquilla/

Within the source to FiltaQuilla itself, the equivalent code for the add sender filter action is:

let count = aMsgHdrs.length;
for (let i = 0; i < count; i++)
{
let hdr = aMsgHdrs.queryElementAt(i, Ci.nsIMsgDBHdr);
let addresses = {}, names = {};
headerParser.parseHeadersWithArray(hdr.mime2DecodedAuthor, addresses, names, {});
names = names.value;
addresses = addresses.value;
if (addresses.length)
{
// don't add the address if it already exists. Mailing lists seem to
// detect this themselves.
if (!dir.isMailList && dir.cardForEmailAddress(addresses[0])) {
continue;
}

let card = Cc["@mozilla.org/addressbook/cardproperty;1"]
.createInstance(Ci.nsIAbCard);
card.primaryEmail = addresses[0];
card.displayName = names[0];
dir.addCard(card);
}
}

Do you see that hdr.mime2DecodedAuthor? What you want instead is hdr.mime2DecodedRecipients As a qualified JS programmer, you should be able to make that minor change (along with some renaming of variable like msgHdrs/aMsgHdrs.

The gotcha here is that the recipients is multi-valued, while the author is single valued. You may have to separate the recipients into individual items (probably comma separated) and apply to each individually.

I hope this helps. I really can't just write it for you. You might find it easier to just modify the source to FiltaQuilla, changing author to recipient in that filter action, if this is just for your own use.

Monathan on Match from the start of the field

$
0
0

I have a filter set up with Subject Regex Match in Thunderbird, matches ^New Order \d\d\d\d

I wanted this to divert e-mails starting New order 1234 into a different folder. Usually this works, but I discover that it also divers subjects like "Re: New Order 1234" there as well - which I was trying to stop with the initial ^.

Is there a way of achieving my original desired effect?

Thanks
-Monathan

rkent on Match from the start of the field

$
0
0

If you look at some of the documentation for Thunderbird, we have this info:

/**
* The subject of this message has "Re:" on the front. The folder summary
* uniquifies all of the strings in it, and to help this, any string which
* begins with "Re:" has that stripped first. This bit is then set,
so that
* when presenting the message, we know to put it back (since the "Re:" is
* not itself stored in the file.)
*/
const nsMsgMessageFlagType HasRe = 0x00000010;

That is documentation on a flag. So the subject does not include the
"re" which is why you are failing, but the information you want is in a
flag.

If you want to filter on messages that are replies, you would need a
javascript search term like this:

message.flags & (Components.interfaces.nsMsgMessageFlags.HasRe)

If you DONT want the re: messages, make this a "doesn't match" filter.

R. Kent James
MesQuilla, LLC
Redmond, Washington, USA

dclose on Capture group

$
0
0

Is there a way to use what Perl calls a "capture group" in FiltaQuilla? I can easily create a regex to select messages from many sources but I'd like to file them in different "folders" according to part of the subject. I don't see any ability to use \1 or $1 or anything similar in the "move to folder" function.


rkent on Capture group

$
0
0

Sorry, there is no way to do this.

mandriospo on Filter which can detect if e-mail contains special character

$
0
0

I am trying to catch e-mail messages which contains special character which in html looks this way:

&#9734

when you open this message it looks like a star:

Is there any trick to make it work?

mandriospo on Bug: if Subject line is coded Filter will never match

$
0
0

I know there is mime2DecodedSubject function which might help but not sure how to use it with FiltaQuilla

i_am_jim on New Feature: send from a different address using a template

$
0
0

Since I don't think this addon does what I need I haven't installed it. I don't know if you support it anymore but, if so, I'm hoping you will add a feature.

Incoming mail To: is an identity in one account. I want to use a template to send a reply with a From/sender sent from an identity in a different account. TB defaults to the sender's address being the same as the To: address of the message received.

This hypothetical screen capture shows the way it would be used.

https://www.dropbox.com/s/bvxsl7k2gyir9m3/Untitled-1.jpg?dl=0

rkent on New Feature: send from a different address using a template

$
0
0

I'm doing very little work on FiltaQuilla these days, but I've added your feature to the list of requested features.

Viewing all 21 articles
Browse latest View live