Home    Cart    Free Download    Manual

Installation:
  Free Downloads
  The H2O Family
  Install Notes

Programming:
  Prerequisites
  H2O Whitepaper
  Online Manual
  Code Examples
  H2O Free Support


What's H2O?
H2O is programming made for the web.

What's it like?
H2O is English-like. If you know some Perl, VB, ASP, or PhP you'll be immediately productive in H2O. It runs on Linux, Mac, Unix, and Windows.

How do I try it?
Download H2O for free. Get it from hosting providers. Or buy on-line.

Where does H2O come from?
The language was invented by Aestiva. H2O stands for:
   HTML with
   HTML/OS
   Overlays.


Form with HTML Email

HTML Form that formats user input into an HTML email message. Formatting of message may be varied by editing the HTML in the on-click Overlay at bottom of page. Multiple emails may be sent by adding more NETMAILSEND instructions to bottom of page.
email.html


<html>
<title>Format Email and Send</title>
<form method=post action=processform>
First Name: <input type=text name=Myfirstname size=15><br>

Last Name: <input type=text name=Mylastname size=20><br>
Street Address: <input type=text name=Mystreetaddress size=40><br>
City: <input type=text name=Mycity size=20><br>

State, Zip: <input type=text name=Mystate size=2 maxsize=2><br>
<input type=text name=Myzipcode size=10><br>
Email: <input type=text name=Myemail size=40><br>

Phone: <input type=text name=Myphone size=40><br>
Comments:<br>
<textarea name=Mycomments rows=5 cols=40>
</textarea><br>

<input type=submit value="Send">
</form>
</html>

<<OVERLAY processform
Mytext =
'<HTML>'
'<TABLE BORDER=0>' +
'<TR><TD>First:</TD><TD>' + Myfirstname + '</TD></TR>' +
'<TR><TD>Last:</TD><TD>' + Mylastname + '</TD></TR>' +
'<TR><TD>Street Address:</TD><TD>' + Mystreetaddress + '</TD></TR>' +
'<TR><TD>City:</TD><TD>' + Mycity + '</TD></TR>' +
'<TR><TD>State:</TD><TD>' + Mystate + '</TD></TR>' +
'<TR><TD>Zip Code:</TD><TD>' + Myzipcode + '</TD></TR>' +
'<TR><TD>Email:</TD><TD>' + Myemail + '</TD></TR>' +
'<TR><TD>Phone:</TD><TD>' + Myphone + '</TD></TR>' +
'<TR><TD>Comments:</TD><TD>' + Mycomments + '</TD></TR>' +
'</TABLE>'

NETMAILSEND("","yourname@yourserver.com","Subject Here",Mytext,
"40","","text/html","")

GOTO "thank_you.html"
>>


NOTE: The + character can be used to paste text together. It's an alternate to the & character.

Home | Cart | Free Download | Online Manual
COPYRIGHT © 2005 Aestiva, LLC. ALL RIGHTS RESERVED.