Randum Ian wrote:
>Hi there, I need to sort out a "simple" mail script which does the
>following. I have started the brainstorm if someone else could help with the
>missing bits, where to look, etc:
>CHECK POP3 MAIL FOR MSG:
>--> crontab, but how???
Check out either running php from terminal or use wget/lynx to access a
>IF MSG CHECK FROM EMAIL:
>--> put mail into array then check from mail against db???
That is, if you want to store the e-mail server-side. Alternatively, you
can check destinations and send on-the-fly. Don't forget deleting the
e-mail from the server - I don't remember if it's a setting for
retrieving (flush) or if it's a distinct action for POP3. Alternatively
use an IMAP account and set the mail as read and move old mail to
folders based on date (monthly archives). Obviously, this is a personal
suggestion for a simple server - you could then check from outside using
>IF IT IS SEND TO EMAILS IN DB
>Therefore if an email is sent to '[EMAIL PROTECTED]' then it would be forwarded
>to everybody in the email db. This is as much as I need so was thinking of
>writing my own instead of using something else. Any views?
>DJ / Reviewer / Webmaster, DancePortal (UK) Limited
>DancePortal.co.uk - Global dance music media
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php