This lesson will teach us how send a small message back through e- mail, to a specified address.
We start of by creating the text box that will accept the message. This is shown in the source code as follows:
[FORM onSubmit="emailer()" METHOD="post"]
[Name: [INPUT TYPE="text" NAME="username" size="16"]
[INPUT TYPE="submit" VALUE="Submit"]
Then a function is employed in making a confimation window to the send. The same function embeds in it the action depended on the confirmation reply. If the reply was positive, the function sends the message to the specified email in the code. This is show is you look at the document source.