<<< Date Index >>>     <<< Thread Index >>>

Re: execute command while new mail arrives



On 2005-03-08 10:46 +0100, ferdy_news@xxxxxx wrote:
> In case someone is interested in: I made a very, very dirty hack in
> mutt-cvs sources to accomplish my wish. I grep'd for beep() and
> located it in curs_main.c. I simply exchanged the beep() with an
> pure 
>  
>     system("osd_print newmail &"); 

Have you considered passing the mail to formail via a procmail recipe,
or some similar setup, to extract the information you want and pass it
to an external application?
 
-- 
Michael Kjörling, michael@xxxxxxxxxxxx - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* No bird soars too high if he soars with his own wings. -*- SM0YBY *