From: Bruce W. <br...@mi...> - 2000-05-21 03:52:55
|
> Has anyone written a POP mail checker for MH? The > internet_mail.pl MH module > I found only seems to work with Outlook and Outlook Express which I would > rather not pile on top of what I already have running on my machine. I'm > interested in something that can pull mail out of a special > account I have > set up (ho...@sh...) that will look for a specific SUBJECT > line and read > the body of the message, deleting the mail when done. Check out the mh/bin/get_email script that gets called by code member internet_mail.pl. It creates a .scan file that internet_mail will then check for mail commands. 'Send test e mail' command in internet_mail will send test email commands. You CAN call the same mail related functions that get_mail calls (which uses the Net::POPe library) directly from mh code , but mh will pause, since reading mail can take a while. I thought a better strategy was to have get_email periodically summarize email to a file, then have mh user cod query those file. |