coding a newsletter sign up?
Posted: Thu, 2008-03-20 02:53
What would be the best way yo setup a section on a website that has a text input box where people could sign up with their e-mail to receive a newsletter every now and then?
i tried searching for tutorials but didn't come up with much.
thank you in advance.


Leader
Posts: 627
Joined: 2007-05-31
Location: Bournemouth
Hmmm...
Posted: Thu, 2008-03-20 11:06
Hmmm, I'm working on an E-Commerce site at the moment, so I'm just getting to grips with all this stuff...
I would probably use a form, with JavaScript validation to save extra trips to the Server, then when you submit, it connects to a database (having validated all the fields including formats such as E-mail = ) and saves them as a Newsletter User.
When you come to Submit your Newsletter, you can then send it to each members e-mail in the database AND address it 'To' the member according to their name in the database.
It's really hard from your message to guage how experienced you are, or what technical level of answer you wanted, so if I can explain further let me know. I should be honest and confess I am not an expert, currently being in the process of getting to grips with ASP.NET but am happy to help where I can.
J
Have YOU said Hello yet?
The CSSCreator Hello Thread
newbie
Posts: 5
Joined: 2008-04-29
I use PHP for this... just a
Posted: Tue, 2008-04-29 09:18
I use PHP for this... just a simple HTML form with javascript to validate the email address and possibily a catchpa to eliminate spam. Then a PHP page to email all the details to me, which outlook then moves to a folder using a message rule. Every now and again a manually go though all the emails and add them to an outlook distribution list.
I guess the complexity of the method you use should be determined by how many signups you envisage getting... if it's only a couple a day my method only takes a few minutes to set up, but if you're going to be getting hundreds then you're probably better off with burlsters suggestion.