Hi, Ken wrote: > I think it would be VERY easy to write a simple tool which just opened > a connection to your IMAP server, ran the IDLE command, waited for > updates from the IMAP server and simply ran a script when it got new > mail
There are heavyweights that do this, e.g. http://www.nongnu.org/mailnotify/ and https://bitbucket.org/gsauthof/trysterobiff. Overkill, perhaps, but I think both allow arbitrary commands to be run on "new mail". https://github.com/Jonhoo/hasmail#readme is a tray icon using https://github.com/emersion/go-imap-idle#readme. And I found some that appear more svelte. https://gitlab.com/shackra/goimapnotify#readme says it's a Go version of the undocumented https://github.com/a-sk/python-imapnotify. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
