Dhruva Krishnamurthy <[EMAIL PROTECTED]> writes:

> Hello,
>  I would like to periodically check for my IMAP mails. I am using this in my
>  .emacs (instead of .gnus, as I do not want to keep another file).

I'm finding this bit of elisp works - checks for new mail at levels 2 &
above every 5 minutes.

(defun my-check-mail ()
  "Fetch new mails only."
  (gnus-group-get-new-news 2))
(add-hook 'gnus-startup-hook
          '(lambda ()
             (gnus-demon-add-handler 'my-check-mail 5 0)))


-- 
Stephen Patterson http://patter.mine.nu/
[EMAIL PROTECTED]  remove SPAM to reply        
Linux Counter No: 142831 GPG Public key: 252B8B37        
Caution: breathing may be hazardous to your health.
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to