Click to See Complete Forum and Search --> : form to collect e-mail adresses --- Newsletter
beeman81
07-17-2003, 02:34 AM
Hello!
I was thinking about starting to collect peoples adresses for my newsletter.
To do this I thought about making a pop-under window asking them to subscribe by entering their name and e-mail adress.
How do I do this?
I know how to make a pop-under window, but I'm not sure about the form part (name, adress, submit-button)
Thanks,
Daniel
AdamGundry
07-17-2003, 02:39 AM
1. Don't use a pop-under window, do it in the same window as everything else.
2. Assuming you want the details emailed to you, and don't have a server-side script to do it, you can use something like this:
<form action="mailto:your_email@example.com">
Name: <input type="text" name="name">
Email address: <input type="text" name="email_address">
<input type="submit" value="Send!">
</form>
Adam
beeman81
07-17-2003, 03:13 AM
Hmm.. I don't know about that one.
It looks good, but it opened my Outlook
It would be good if it would just send the message to me without hassle. Otherwise it's nice.
AdamGundry
07-17-2003, 04:39 AM
To avoid using the user's default email client (in your case Outlook) to send the message, you need to use a server-side script. Find out which server-side languages you have available (ask your web host) and then search for a "form-to-mail" script in those languages.
Adam
Or, if you server supports PHP, you could use this one: http://forums.webdeveloper.com/showthread.php?s=&threadid=9543#post48748