I made a table with form entries in it. I used the "mailto" code to send
the results to. It works fine, for what it does.
But how do I take this a step further? I'd like it to do two additional
things.
(OK, I'll add this right here now. A request - if all you are going to
do is to refer me to a vast web page somewhere, and you're basically
telling me to look it up for myself, well, thanks for the effort, but
please don't reply with such, unless it is very specific and real easy to
find my answer on.)
1st - I only know it works in my Outlook Express, and here's how: after
I click the "submit" button, a little window comes up and says something
like it is going to send the "email to:" (it is empty here, that's ok) and
the "from:" is working. And I click to send, and it sends. quickly it
sends - I know it has sent, even seeing a little bar or graph thingy (I
think) but it happens so fast, and I am sitting there at the same form
page. Or I can look in OE and into it's "sent" folder, and see that it
was sent successfully (and to who). But I'd like more to happen: It would
be great if it would say something like "Thank you. Your submission has
been sent" after it was sent of course, or, somehow maybe automatically
redirects the submitter to the website's home page after the email
submission was sent. How would I do this - possible with HTML? Or do I
need to do something else.
2nd - Is there a way to have HTML code automatically send a specific email
back to the submitter's email address after a successful submission? If
not HTML - then what?
In your experiences, do all different email programs, or if no email
program, then how, through a email web page? - well do they all work with
a standard "form", or are some people left out when trying to submit to a
"mailto"?
If it is any help at all, here is the HTML table code used in the form.
Maybe you can fill in what I need if it is possible with HTML:
<table width="400" border="0" cellspacing="0" cellpadding="1"
align="center">
<tr><td colspan="2">
</td></tr>
<tr>
<form enctype="text/plain" action="mailto:
[email protected]"
method="post">
<td class="body"><b>Subject:</b></td>
<td>
<SELECT NAME="subline">
<OPTION VALUE="More Information">More Information
<OPTION VALUE="Schedule a Site Inspection">Schedule a Site
Inspection
</SELECT>
</td></tr>
<tr><td class="body"><b>First Name:</b></td>
<td><INPUT NAME="first" TYPE=TEXT SIZE=30> <b>*</b>
</td></tr>
<tr><td class="body"><b>Last Name:</b></td>
<td><INPUT NAME="last" TYPE=TEXT SIZE=30> <b>*</b>
</td></tr>
<tr><td class="body"><b>E-mail Address:</b></td>
<td><INPUT NAME="email" TYPE=TEXT SIZE=30> <b>*</b>
</td></tr>
<tr><td height="20" class="body"><b>Phone:</b></td>
<td height="20"><INPUT NAME="phone" TYPE=TEXT SIZE=30> <b>*</b>
</td></tr>
<tr><td class="body"><b>Fax:</b></td>
<td><INPUT NAME="fax" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td class="body"><b>Company:</b></td>
<td><INPUT NAME="company" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td class="body"><b>Street:</b></td>
<td><INPUT NAME="street" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td class="body"><b>City:</b></td>
<td><INPUT NAME="city" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td class="body"><b>State:</b></td>
<td><INPUT NAME="state" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td class="body"><b>Zip:</b></td>
<td><INPUT NAME="zip" TYPE=TEXT SIZE=30>
</td></tr>
<tr><td valign="top" class="body"><b>Comments:</b></td>
<td><TEXTAREA NAME="comments" TYPE=TEXT ROWS="7" COLS="34"></TEXTAREA>
</td></tr>
<tr><td><INPUT TYPE=SUBMIT VALUE="Submit"></td>
<td> </td>
</form></tr>
<tr><td> </td><td class="body">(Note: "<b>*</b>" above denotes
a required field)
</td></tr>
<tr><td colspan="2">
</td></tr></table>
---end
...D.