> MY QUESTION > Does anyone know of a simple script I could run as a cron job to POP my > email account, check for new messages, and send me a text message > containing the subject of each message that matches my preset criteria?
Use fetchmail to fetch the mail (pop or imap) and then procmail to do your something special. If you read your mail off the server you can have fetchmail leave it on the server and procmail send it to /dev/null after you're done processing it. -- .O. Hans Fugal | De gustibus non disputandum est. ..O http://hans.fugal.net | Debian, vim, mutt, ruby, text, gpg OOO | WindowMaker, gaim, UTF-8, RISC, JS Bach --------------------------------------------------------------------- GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460
signature.asc
Description: Digital signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
