I'd like to create a little form where people can add their email address to join a newsletter. How is this done and what's required?
jezra
1:46 am on Feb 26, 2005 (gmt 0)
Greetings, To allow a visitor to add their email to a list, You will need some sort of server side scripting language (PHP,PERL,ASP,JSP,ColdFusion,Lasso,Etc.), a database or text file to put the email into, and a webpage with a form for the user to enter their email. You will also need a way to collect the emails from the database or text file. I could give you more specific details based on your webserver operating system and webserving software.
jez
giggle
3:11 am on Feb 26, 2005 (gmt 0)
If you don't have access to a database you could have their email address emailed directly to you.
CDONTS!
kazecoder
7:11 pm on Feb 28, 2005 (gmt 0)
I created a HTML form that calls a php script upon being submitted. The php script uses SendMail to generate and send the email. The syntax is very easy to do and it should work fine as long as your host supports PHP and allows you to use SendMail.
Syntax:
mail("recipients name","subject","body");
You will have to use variables to capture the information that you sent from the html document.