Mailing list - "add me" feature

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Mailing list - "add me" feature

Post by Luke »

I am building an "add me to your mailing list" feature on a site. What's the best (and most painless for the user) way to do this?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Does the user require being registered for them to see it? If so, associate with user id, otherwise, get their email address. I don't know how much more simple that could be...
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

no user registration is necessary... I'm just wondering if it's going to necessary to validate their email address by sending a confirmation email or anything like that... I mean it doesn't really matter if I'm sending emails to non-existant email addresses, huh?

But then again I guess it might be important to validate that the person who signed up is the owner of the email address so that somebody cant sign up for somebody else...

What's the best way to validate that the person signing up owns the email address? I was thinking of just setting up a key in the database, then sending the email with that key and having the user click on an activation link... is that the standard way?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Yes, activation key is the standard way.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

alright... I guess this was just basically a think out loud thread... thanks for playing along feyd... :D
Post Reply