Forum

Or log in with
 
Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Detach attachments filter action

Reply to Post Add a New Topic
UserPost

10:31 pm
November 29, 2009


rkent

Admin

posts 279

I tried to do this for FiltaQuilla version 1.0.0 that would be TB 3.0 / SM 2.0 compatible. But the backend does not quite have the correct calls that I need to support this. They should not be difficult to add, but this will need to wait until TB 3.1

I've managed to add a save attachments to folder filter action though.

10:44 am
April 30, 2010


rkent

Admin

posts 279

This is implemented in FiltaQiilla version 1.1.0

8:03 am
September 30, 2010


dblatner

Member

posts 3

I would like to detach all attachments in all messages that come into the In Box (like the old Eudora did). I have installed filtaquilla, but I do not see any UI in the filters dialog fox "if there is an attachment, then detach it."

How do I tell it to do this?

I am seeing some other weird UI glitches, though. For example, when I click in the filter pop-up menu (where it says "Subject, Body, etc.") at the bottom it says "Subject Regex Match" and then then next it has "Bcc" and then it repeats those two five times! Very strange.

Same thing happens in the Find dialog box.

Could this be because I am using the Penelope (Eudora OSE) add-on on the Mac?

8:17 am
September 30, 2010


rkent

Admin

posts 279

The first thing that you have to do is to enable the detach filter action. Go to Tools/Addons, select FiltaQuilla and Options and you should see the Filter Actions tab. restart, and you should see a filter action to detach attachments.

8:37 am
September 30, 2010


dblatner

Member

posts 3

Ah, I see! Save Attachment is available, but Detach Attachment is grayed out (in the Add on Preferences dialog). So that is still a problem.

Also, I do not see any way to add the filter to check if a message has an attachment. For example, I can search for "if subject contains…" but I do not see any way to say "if attachments are 1 or more" or something like that.

The only other add-ons I am using are Penelope/Eudora OSE, and the Charamel theme.

Please see images here: 

http://indesignsecrets.com/tes…..hment4.png

http://indesignsecrets.com/tes…..hment1.png

http://indesignsecrets.com/tes…..hment2.png

http://indesignsecrets.com/tes…..hment3.png

9:30 am
September 30, 2010


rkent

Admin

posts 279

Are you using Thunderbird 3.1? Detach attachments does not work in 3.0 as it uses a new core method that I added in 3.1

As to testing for existence of attachments, unfortunately that is not currently possible in Thunderbird, at least reliably. I suggest that you just add the detach to all messages and test it, I believe it will probably work OK (which is doing nothing) on messages without attachments.

10:12 am
September 30, 2010


dblatner

Member

posts 3

Ah HA! I see here that Eudora OSE is based on Tbird 3.0.4: https://wiki.mozilla.org/Eudora_Releases

That's frustrating. I guess I have to wait for Eudora OSE to be updated.

That is also strange that there is no way to check for attachments. Seems like there should be a regex or something that can see if there is a MIME attachment in the body or something like that.

11:14 am
September 30, 2010


rkent

Admin

posts 279

The issue with attachments is that in order to reliably check for attachments, you need to run the entire message through the MIME processor, as otherwise complex MIME arrangements can fool simple checks. Filters happen before MIME processing, and therefore that information (and related information, such as attachment names) is not available then. Major issue that needs some driver agreement to solve.

There is actually a flag for has attachments that is set at filter time, but it uses an unreliable simple check of the mime headers. it is not accessible through normal filters, but would be easy to check with a javascript search term. But it will only catch a fraction of attachments.

Reply to Post

Reply to Topic:
Detach attachments filter action

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
1 + 5
   


 
Share