Php mailing list

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hello All,

Can anyone point me to a php script that stores email addresses into a
txt file?

The purpose for this is for a mailing list, ideally if a user wanted to
unsubscribe the email would be removed from the text file.


Jay Lehab

Re: Php mailing list


Quoted text here. Click to load it

I am not sure of one that already does that but it should be fairly easy
to write on your own.

Here is your steps:

1. User signs up for mailing list
2. Validate the email address
3. Append it to the file (you should come up with a format/scheme)

1. User sends in unsubscribe request
2. Validate the email address
3. Find it in the file and delete it.

For the mailing
1. Open the file
2. Sort the addresses
3. Send the email


Site Timeline