PHP mailing list functionality
Posted on 2007-03-25
I am new to PHP and I am searching for code to embed into my webpage that will do several things:
1. Create a form that gets a visitor's name and email address (has a 'Submit' button).
2. Adds the name and email to a list (maybe just a txt document or a database). --> Note: I don't have a database set up, and I do not know how to code one (so I would need a lot of code for this option).
3. When the submit button is clicked, an email is sent to me (email@example.com) with the updated list of emails as the body of the email. The subject is : "New member has joined"
Can you please provide code. It will really help me. Thank you so much.