Re: [Evolution-hackers] [plugin-development] Adding a new filter action (replace subject in mail) [SEC=UNCLASSIFIED]



Hi

What I want to do was to add this action in the mailing filters ( like
"Move to folder", "Set status"... they are in <actionset> in
filtertypes.xml ), but I was told this is not possible.

I was also told that modifying the subject of a mail, or the "display"
of the subject of this mail in evolution, is not possible either.

Is this correct?

Mats Taraldsvik


On Fri, 2008-05-16 at 09:45 +0200, Mats Taraldsvik wrote:
> Hi!
> 
> Thanks for the tip. As stated, I'm a beginner both in coding and plugin
> development. However, I will give it a shot after my exams.
> 
> I'll get back to this thread once and if I make any progress.
> 
> (No need to reply to me directly - I'm following the list)
> 
> Mats Taraldsvik
> 
> 
> On Fri, 2008-05-16 at 16:43 +1000, Shane McEwan wrote:
> > G'day!
> > 
> > I have been wanting a plugin that would add a pre-defined string to the
> > subject line. Unfortunately I'm not a good enough coder to write the
> > plugin. If I can't do it in Perl I can't do it. :-(
> > 
> > Your suggested plugin sounds very close to what I want so I'll be
> > interested to give it a try if you manage to get it working.
> > 
> > The closest I got was looking at the Attachment Reminder plugin which
> > does almost everything you want except modify the subject. You could
> > probably modify Attachment Reminder to do what you want if your coding
> > skills are better than mine! :-)
> > 
> > I look forward to hearing about your progress and am willing to test
> > things if you need it.
> > 
> > Good luck!
> > 
> > On Thu, 2008-05-15 at 18:08 +0200, Mats Taraldsvik wrote:
> > > Hi!
> > > 
> > > I'd like to make a plugin which replaces the subject (or parts of it)
> > > with text from the mail contents by regular expressions. 
> > > 
> > > Rationale: Forums and others send you messages with subject like "new
> > > reply in forum", but the topic is not specified. This is annoying if you
> > > have one email per response, since you have to look through all this
> > > mail to see if other topics you are subscribed to has unread responses.
> > > 
> > > As I have no earlier experience in contributing, I'd like some help on
> > > where to start, please. I have looked in the Eplugins doc, but couldn't
> > > figure out filter actions.
> > > 
> > > cheers,
> > > Mats Taraldsvik
> > > 
> > > (this was also posted on evolution-list, but I was advised to post here)
> > > 
> > > _______________________________________________
> > > Evolution-hackers mailing list
> > > Evolution-hackers gnome org
> > > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> > --
> >          Shane McEwan - Bureau of Meteorology - Cape Grim BAPS
> > ------------------------------------------------------------------------
> >               There are 10 kinds of people . . .
> >               those who understand binary and those who don't.
> > ------------------------------------------------------------------------
> >  159 Nelson St, Smithton, Tasmania - Ph 03 6452 1629 - Fax 03 6452 2600
> 
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]