Forum

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


Register? | Lost Your Password?

NEW RULE: SEND A SAVED MAIL

Reply to Post Add a New Topic
UserPost

3:43 am
February 8, 2009


fabiocer

Member

posts 3

Hallo rkent,

good stuff!!!Wink

Just a couple of questions:

  • how to find the source codes for FiltaQuilla?
  • It would be very interesting to send a prepared mail instead of launching a file. do you have an idea how to do it?

Thanks for your attention!

CiaoCool

Fabio

9:30 pm
February 8, 2009


rkent

Admin

posts 279

The source code is shipped with each extension. The extension, though it has a file suffix of .xpi, is just a zip file of the source. I haven't even bundled the source into .jar files internally! So just open the .xpi file with a zip reader, and the source is there. This is really the best sample of how to do custom filters as well (I wrote the backend code to support this, as well as the extension.)

I don't believe it would be very hard to add a custom filter action to send a particular email. I imagine that you could store a standard reply in, say, a .eml file, and the filter action would be to reply to the From: field of the message with the email selected in a file. Is that what you would like? The filter action would provide a field to select the email to use as the source of the reply.

12:57 am
February 9, 2009


fabiocer

Member

posts 3

Hi rkent!

Thanks for your replyLaughing

What stupid I was….I thought was in VB because is the only language I know… a little!

I think I have to learn java….right?

The issue is a little bit different from your example: I need to send to some people a prepared mail (say a model) when I receive a particular mail from a particular address. I hope I was clear enough..

Thanks for your attention.

Have a nice day,

Ciao

Fabio

1:39 am
February 9, 2009


rkent

Admin

posts 279

The usual language used for Mozilla extensions is javascript, not java. But the language is the easy part. You really need to have a good understanding of basic Mozilla concepts like XUL and XPCOM, plus be able to navigate through the mail code base to see how to do things. There is a plan to add a more easily understood package called STEEL to the Thunderbird product to make it easier to write extensions, but that code has not been released yet even in the development versions. The code to do what you need is probably only about 10 lines of code beyond the generic code for a new custom filter action, but it will take awhile to figure out those 10 lines of code.

I'll do another release of FiltaQuilla about the time that TB beta2 is released (which should be in about 4 weeks). I'll try to add a few newly requested filter actions at that time, such as yours. No promises though, I'll spend a couple of hours on it and if I can do it in that amount of time, I will.

rkent

11:02 am
February 14, 2009


fabiocer

Member

posts 3

Hi Rkent,

thanks a lot!

I will be really happy if you keep me informed about the development, even for beta version, I will be more than happy to become a B-tester for you!

Ciao e have a good time…..Wink

Fabio

Reply to Post

Reply to Topic:
NEW RULE: SEND A SAVED MAIL

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:
4 + 3
   


 
Share