Forum Moderators: open

Message Too Old, No Replies

Newsletter Sign Up

         

knights1

5:38 pm on Aug 31, 2005 (gmt 0)

10+ Year Member



I want people to be able to put their e-mail in a form and click sign up for newsletter so I have them on my newsletter list, what is the html for this?

Derek

Dijkgraaf

12:45 am on Sep 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you want it to send you an e-mail or do you want it to add them automatically to a mailing list.

In either case it won't be only HTML, as you will need probably need to POST the information to some script that will then do the required action.

You will have to give more details about what sort of server you are running your web site on, and if you have acess to form to mail utilities or scripting language.

knights1

4:25 pm on Sep 2, 2005 (gmt 0)

10+ Year Member



Either an e-mail or automatically adding them to a list is good. I believe I have access to scripting language form my server. I thought it was possible using a form through HTML?

Derek

Dijkgraaf

9:16 am on Sep 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, the form has to submit to something than can send an e-mail. You can't do it from HTML.
What scripting language can you use?

tedster

6:50 pm on Sep 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Strictly speaking, it is possible to use the person's own email client by using a mailto: action in html forms, like this:
<form action="mailto:[some email address]">

However, there are so may drawbacks to this approach that it's not a good idea. For one thing it depends on the user having a properly configured email client. For another, the reults come through (if they do) in an unformatted manner - and then you need to manually enter each submission into your mailing list. So even though it's possible, for all practical purposes Dijkgraaf's advice is the way to go.