popfetcher / Filter question 2

Creating and modifying plugins.
Post Reply
mottaya

popfetcher / Filter question 2

Post by mottaya »

I would like to filter the incoming e-mails to different categories accodring to a given key in the subject field of the emails.

( Right now i can only fetch e-mails to a only one category. )


Is there any way we can do that?


Thanks.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popfetcher / Filter question 2

Post by garvinhicking »

That's currently not implemented in the plugin.

I think it's easier to move entries to other categories after posting. All else is a bit of hassle to setup and to code?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
elvisanderson
Regular
Posts: 15
Joined: Wed Jan 25, 2006 5:14 pm

Sort to Catgories

Post by elvisanderson »

Hi,

I'm also looking for this sort of functionality - what would it cost to get it done?

I basically have a number of travellers on a ship with email access, but no live internet, and I want them to be able to include their name in the subject line so that popfetcher automatically divides the incoming mails into the category that has the traveller's name on our blog.

That way on our site, their daily trip log is found under their name on the blog for their friends to follow along.

Also handy (while I'm dreaming) would be a start code for the popfetcher, so that within an email it could find the start and end of an entry, so if I want to cc the blog, but only want a portion of the mail to go public, I could specify the published part.

If you could give me a development cost for at least the first part, I would appreciate it.

Thanks,

Clayton
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Sort to Catgories

Post by garvinhicking »

Hi!

How would you feel about implementing the category assignment via the entry's subject? One could enclose the mail subject with '[CATEGORYNAME] Usual mail subject' to indicate the target category?

If you don't like this idea, how would you actually want to specify the category in the interface?

My method would take me about 2 hours of development and testing. Your second wish of a splitting part would take me an hour of development.

I would charge 30 Euro/hour for that, and I could also write a legal invoice for that, if it's within the EU. I haven't written an invoice to non-EU countries yet so I don't know how that would work. :-))

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
elvisanderson
Regular
Posts: 15
Joined: Wed Jan 25, 2006 5:14 pm

Post by elvisanderson »

Hi Garvin,

Thanks for the quick response... so if I understand this correctly the mail subject could be:
-----
[myname] This is the blog/e-mail subject

Body of mail goes here


------

and this could put the message in the [myname] catagory?

Further to this, with the extra hour we could get:

--------

[myname] This is the blog/e-mail subject

Body of mail to my friends goes here and is not posted

xxx-blogstart-xxx

this is the entry for the blog

xxx-blogend-xxx


-------

Is this correct? Will this also work in nested categories? If so, send me an invoice for 90 euros and I'll get you paid via paypal before you start.

Thanks,

Clayton
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Clayton!

That is right how you describe it. The category detection would be based on the name, so it would only work if your nested categories have unique names.

You must not pay in advance; only do that when you're satisfied with what I did. I don't want anybody to pay when it's not done yet.

It might take me a week to get your wish implemented because I'm currently packed with work. Hope that is okay with you. I'll send you a private message via the forums when I'm done!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
elvisanderson
Regular
Posts: 15
Joined: Wed Jan 25, 2006 5:14 pm

Post by elvisanderson »

That's great! Thanks. Let me know when you're done. Ideally I'd like it for the 10th of March.

Clayton
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Is there news about this feature?

Post by ocj »

Is there news about this feature?

TIA
Olli
Last edited by ocj on Thu Mar 30, 2006 9:30 am, edited 1 time in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Is there news about this feature?

Post by garvinhicking »

Yes, it was already implemented :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Tested it. Works great! (the only inconsistency I found is that the version number was not updated after upgrading the plugin. It still shows 1.7).

Is it possible to implement a feature to use that plugin with multiple categories? E.g. by using a comma separated list?

Thank you very much for your great work!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I've just patched the popfetcher plugin for support of ";" separated categories. CVS is down currently but I'll upload it once its online again.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ocj
Regular
Posts: 50
Joined: Sat Mar 18, 2006 11:58 am
Contact:

Post by ocj »

Thank you very much. Great support!
Post Reply