By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,347 Members | 2,113 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,347 IT Pros & Developers. It's quick & easy.

Php mailing list

P: n/a
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.

Regards,

Jay Lehab

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jay,
Can anyone point me to a php script that stores email addresses into a
txt file?


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

Mike
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.