You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, June 29th 2003, 4:24pm

email notification in kmail for special folders

Hi there,

I want Kmail to notify me (f.ex. by sound) when new mail arrives. OK, that works. But I want it just for special folders. The optimum would be to play different sound for some folders. F.ex. nothing in Inbox, an alert in SysAdmin.ServerAlerts and the "SpamSong" from Monty Python for the Spam-folder ;-)

Thank you
Marcel

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Sunday, June 29th 2003, 4:38pm

Re: email notification in kmail for special folders

Quoted

Original von meyerm


I want Kmail to notify me (f.ex. by sound) when new mail arrives. OK, that works. But I want it just for special folders. The optimum would be to play different sound for some folders. F.ex. nothing in Inbox, an alert in SysAdmin.ServerAlerts and the "SpamSong" from Monty Python for the Spam-folder ;-)


You can execute any program as part of a filter action.
So you just extend your current filter's action list and add an action to execute a command.
Use something like "artsplay sound.wav"

Cheers,
_
Qt/KDE Developer
Debian User

3

Sunday, June 29th 2003, 8:32pm

Hello anda_skoa,

thank you for your answer. That's almost what I wanted. :-) I can use these filters to search for the "X-Bogosity: Yes" header which indicates, that it has been identified as Spam through my bogogilter installed on the server. And when I say "use the filter" (pressing STRG+J) it works (it plays the desired sound).

Buuuut I let my server sorting emails into different IMAP-folders. I would have to create some filters several times (server, client). Not sooo bad, but the problem is that KMail doesn't filter the mails when a new one arrives.

I need a filter which is activeted when mails are put into an imap-folder (by the server of course).

Do you (or anybody else?) have a solution for this problem (or can just say "you're dumb - look into menu a) submenu b)" ;-) )?

Thank you very much
Marcel

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Monday, June 30th 2003, 12:13pm

KMail doesn't currently apply filters to IMAP folders automatically.

I think I read that it will in KDE3.2

Perhaps, if your server does allow to associate a command with a filter, you could play a sound there?

Another possibility is to use Korn.
Korn can check for new mails on IMAP and play sounds as well.

Cheers,
_
Qt/KDE Developer
Debian User