Viewing attach.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--chtml include "//webinfo/incs/header.inc"-->

<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
	<title>Mailto Attachment Demo</title>
	<link href="/webinfo/webinfo.css" type="text/css" rel="stylesheet" />
    </head>

    <body>
	<h1>Mailto Attachment Demo</h1>
	<!--chtml include "//webinfo/incs/navbar.inc"-->
	This sample mailto form demonstrates attachments. Note that it
	is not intended as a true request form, but only shows what can
	be done with mailto. You will not receive a reply to mail
	generated by this form.
	<form action="attach.mailto" method="post" enctype="multipart/form-data">
	    <table border="0" cellspacing="2" cellpadding="0">
		<tr>
		    <td><label for="emailfield">E-mail Address:</label></td>
		    <td><input id="emailfield" type="text" name="sender" size="55"/></td>
		</tr>
		<tr>
		    <td><label for="namefield">Name:</label></td>
		    <td><input id="namefield" type="text" name="sendername" size="55"/></td>
		</tr>
		<tr>
		    <td valign="top"><label for="filefield">File to attach:</label></td>
		    <td><input id="filefield" type="file" name="file" size="24"/></td>
		</tr>
		<tr>
		    <td valign="top"><label for="cmtfield">Comments about file:</label></td>
		    <td><textarea id="cmtfield" name="comments" rows="4" cols="40"></textarea></td>
		</tr>
		<tr>
		    <td></td>
		    <td><input type="submit" value="Send File" /></td>
		</tr>
	    </table>
	</form>
	<!--chtml include "//webinfo/incs/footer.inc"-->
    </body>

</html>