info-gnus-english
[Top][All Lists]
Advanced

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

Re: Run a function when new mail arrives


From: Reiner Steib
Subject: Re: Run a function when new mail arrives
Date: Thu, 18 Jan 2007 18:25:01 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

On Thu, Jan 18 2007, Tassilo Horn wrote:

> I use Gnus with an IMAP account and let gnus demon check for new mail
> every 5 minutes of emacs idle time.
>
> Now I'd like to run a function whenever new mail arrives.
>
> Is (or better how) is that possible?

There's `nnmail-prepare-save-mail-hook', but probably this is only run
for `mail-sources'.  I don't know if there's something similar for
IMAP.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]