[PHP] Simple Mailing List

2002-05-29 Thread Randum Ian

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???

IF MSG CHECK FROM EMAIL:

-- put mail into array then check from mail against db???

IF IT IS SEND TO EMAILS IN DB

-- mail(blah)

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?

Cheers, Ian.
---
Randum Ian
DJ / Reviewer / Webmaster, DancePortal (UK) Limited
[EMAIL PROTECTED]
http://www.danceportal.co.uk
DancePortal.co.uk - Global dance music media


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Simple Mailing List

2002-05-29 Thread Bogdan Stancescu

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 
certain page.

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 
IMAPS.

IF IT IS SEND TO EMAILS IN DB

-- mail(blah)

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?

Cheers, Ian.
---
Randum Ian
DJ / Reviewer / Webmaster, DancePortal (UK) Limited
[EMAIL PROTECTED]
http://www.danceportal.co.uk
DancePortal.co.uk - Global dance music media


  





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php