Hi,

I hacked up a quick perl script to show sender and subject of the 5
most recent mails on a POP account in a scroller via mythtvosd. It's
not perfect, but it does the job for me. (I have it running as a cron
job every 5 minutes - it remembers which messages it has already
checked.) It shouldn't do any damage - there aren't any functions that
attempt to delete any mail, and I've been running it without a hitch
for the last few days, but YMMV. (It does create - and occasionally
delete - a file called .uidl.txt in its user's home folder. Make sure
that beavior diesn't conflict with any other software you're running.)

It needs the Mail::POP3Client and MIME::WordDecoder perl modules to
function properly and will usually only try to check mail if it
detects mythfrontend showing TV or a recording, although that can be
overridden if you want to run it on a dedicated backend.

Feel free to modify the attached script to suit your needs.

Jens

Attachment: popcheck.pl
Description: Binary data

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to