Bug 35228 - command executed when receiving new mail should be specific for folder/mail-source
Summary: command executed when receiving new mail should be specific for folder/mail-s...
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-22 19:03 UTC by kvr
Modified: 2012-08-19 01:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kvr 2001-11-22 18:53:47 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           KDE 2.2.1 
Severity:          wishlist
Installed from:    Debian Packages
Compiler:          gcc version 2.95.4 20011006 (Debian prerelease)
OS:                Linux
OS/Compiler notes: Not Specified

When receiving mail it would be nice to know (execute specific command) depending on source (having more pop3-servers local folder etc.) or on destination folder the second one would be probably better because of possibility running command after processing filters so depending on (for example) mailing lists arriving on the same e-mail address.

The second minor wish - maybe it's already implemented and I didn't find it - it would be good to have something to "pause" checking mail.


(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Comment 1 Marc Mutz 2001-11-24 11:44:02 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 23 November 2001 17:50 Michael H=E4ckel wrote:
> On Friday 23 November 2001 19:15 Marc Mutz wrote:
<snip>
> > "from" contains "myfriend@example.org"
> > execute command "artsplay yippie.wav"
>
> I also suggested that elsewhere but the problem is that this
> command is then executed multiple times if several mails arrive.
<snip>

OK then make this:
precommand: rm -rf /tmp/dont_play_sound

"from" contains "myfriend@example.org"
execute command
"if [ ! -f /tmp/dont_play_sound ]; then artsplay yippie; touch=20
/tmp/dont_play_sound; fi"

Marc

- --=20
Ein Grundrecht auf Sicherheit steht bewusst nicht in der Verfassung.
  -- Sabine Leutheusser-Schnarrenberger (ehem. Bundesjustizministerin)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7/47w3oWD+L2/6DgRApKsAJsEcmZgJdoi1taOZNDceoHcAMzzxwCg49LH
7/E7QFkGOBBDsNmAjkWLhYo=3D
=3DJAKr
-----END PGP SIGNATURE-----
Comment 2 joerg reisenweber 2003-04-09 21:51:47 UTC
 OK! 
guessed there would be a way to do it, when i think about a lot. 
but an easy-to-use option to get a notify just for private mail -not mailing list- comming in on 
same account would be nice. 
to make things worse, i got a couple of accounts. the way shown i have to switch off standard 
notify and build a sound&requester-filter for _each_ of them. 
 
by the way: what event triggers the request/sound/cmd on "got message"? marking recvd msgs as 
"old" etc (by filter) seems nonrelevant, so it is not an "unread" or "new" (difference??*) msg 
appearing in any folder that triggers(?). 
 
rgds, jOERG 
 
(*) ok - my system (+KMail) uptime avg 100 days ... ;-) maybe i got never a "new" msg. 
 
Comment 3 Nelson Rodriguez 2005-04-05 18:51:58 UTC
Also it will be good (another feature copied from Sylpheed-claws) if you can provide a variable or something with the number of new mails received.
I use an osd program to notify of new mail, and it will be nice if it can tell me:

You've got 5 new mails

instead of just "you've got new mail"

It will be good even to use with festival :D
Comment 4 Myriam Schweingruber 2012-08-18 08:19:48 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 5 Luigi Toscano 2012-08-19 01:12:14 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.