It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

Mailing List

Moderator: Malcolm

Mailing List

Postby dflynn on Mon Feb 18, 2008 6:18 am

Hey guys.
I'm trying to figure out how to set up a mailing list.
One that people could sign up by putting their emails into a form and hitting the submit button and they'd be signed up to the list for the next round of email. (it's for a band's website.)
Any pointers would be awesome.

Thanks,
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Postby leonard on Mon Feb 18, 2008 8:17 am

Simply store the name and email-address (optional: unsubscribe random-string) to a table in your database.

To send mail u can use Flabby's template:
send-an-email-from-you-website-vt8833.html

Loop over the list and send the mails.
Don't forget to offer an unsubscribe part, else your site will start to annoy people who don't want to be on the list anymore.
The best would be to simply have a link (with a long GET-Parameter) to unsubscribe yourself. This could be the random-string you have stored in the table with the users.

cheers!
- leonard
:%s/^M//
There are 10 kinds of people:
Those who understand binary and those who don't.
User avatar
leonard
100+ Club
 
Posts: 147
Joined: Tue Dec 18, 2007 7:11 am
Location: Switzerland

Postby dflynn on Mon Feb 18, 2008 5:58 pm

Ok, thanks leonard, I will work on this. If I run into any problems I'll be sure to give you a shout.
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada


Who is online

Users browsing this forum: No registered users and 1 guest