• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

Sending Autoresponder From Form?

I am trying to send an auotresponder once they hit the submit button on a form in frontpage 98.  At this point it isn't capturing thier email address.  However, I do have a field that is required to complete the form that is for them to enter their email address.  

Any and all help would be greatly appreciated.
1 Solution
Can you display the source code?...
dj00Author Commented:

<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>NIT-TECH Registration</title>

<meta name="Microsoft Theme" content="tmblpgrn 111, default">
<meta name="Microsoft Border" content="tl, default">

<body leftmargin="136" background="_themes/tmblpgrn/blipbg.gif" bgcolor="#FFFFFF" text="#808080" link="#008000" vlink="#C0C0C0" alink="#80FF80"><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td><!--mstheme--><font face="tahoma, Arial, Helvetica">

<p align="center"><font size="6"><strong><img src="_derived/index.html_cmp_tmblpgrn110_bnr.gif" width="600" height="65" border="0" alt="NIT-TECH Registration"></strong></font></p>
<!--mstheme--></font></td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="1%"><!--mstheme--><font face="tahoma, Arial, Helvetica">

<!--mstheme--></font></td><td valign="top" width="24"></td><!--msnavigation--><td valign="top"><!--mstheme--><font face="tahoma, Arial, Helvetica">

<p ALIGN="CENTER"><font color="#008000"><strong><big><big>Welcome To Northgate Internet

<p ALIGN="CENTER"><strong><font color="#008000"><marquee scrolldelay="70" border="0" width="550" height="19">REGISTER TODAY TO ATTEND OUR FREE CONFERENCE</marquee></font></strong></p>

<p ALIGN="CENTER"><strong><font color="#008000">Remember, when you attend you will receive
the Business Starter Kit valued at over $400.00 as well as an opportunity to win a new
computer system.</font></strong></p>

<p align="center"><font color="#000000">Please complete the registration form below to
reserve your seat <b>OR </b>call 800-508-5473 to speak with an operator (Operators
standing by from 9am-9pm Monday &#150; Friday, 9am-5pm Saturday/Sunday Eastern Standard


<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript"><!--
function FrontPage_Form2_Validator(theForm)

  if (theForm.Name.value == "")
    alert("Please enter a value for the \"Name\" field.");
    return (false);

  if (theForm.Address.value == "")
    alert("Please enter a value for the \"Address\" field.");
    return (false);

  if (theForm.City.value == "")
    alert("Please enter a value for the \"City\" field.");
    return (false);

  if (theForm.State.selectedIndex < 0)
    alert("Please select one of the \"State\" options.");
    return (false);

  if (theForm.Zip.value == "")
    alert("Please enter a value for the \"Zip\" field.");
    return (false);

  if (theForm.Phone_Number.value == "")
    alert("Please enter a value for the \"Phone_Number\" field.");
    return (false);

  if (theForm.Email_Address.value == "")
    alert("Please enter a value for the \"Email_Address\" field.");
    return (false);

  if (theForm.Number_Of_People_Attending.selectedIndex < 0)
    alert("Please select one of the \"Number_Of_People_Attending\" options.");
    return (false);
  return (true);
//--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="_vti_bin/shtml.exe/index.html" onsubmit="return FrontPage_Form2_Validator(this)" name="FrontPage_Form2" webbot-action="--WEBBOT-SELF--">
  <!--webbot bot="SaveResults" U-File="_private/form_results.txt" S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" B-Email-Label-Fields="TRUE" S-Builtin-Fields="Date Time REMOTE_NAME REMOTE_USER HTTP_USER_AGENT" U-Confirmation-Url="nit-tech.htm" S-Email-Address="reservation@nit-tech.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><p><font color="#000000">Name:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Name" size="20" tabindex="1"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  Address:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Address" size="20" tabindex="2"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  City:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="City" size="20" tabindex="3"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  State:<!--webbot bot="Validation" B-Value-Required="TRUE" --><select name="State" size="1" tabindex="4">
    <option value="Alabama">Alabama</option>
    <option value="Alaska">Alaska</option>
    <option value="Arizona">Arizona</option>
    <option value="Arkansas">Arkansas</option>
    <option value="California">California</option>
    <option value="Colorado">Colorado</option>
    <option value="Connecticut">Connecticut</option>
    <option value="Delaware">Delaware</option>
    <option value="Florida">Florida</option>
    <option value="Georgia">Georgia</option>
    <option value="Hawaii">Hawaii</option>
    <option value="Idaho">Idaho</option>
    <option value="Illinois">Illinois</option>
    <option value="Indiana">Indiana</option>
    <option value="Iowa">Iowa</option>
    <option value="Kansas">Kansas</option>
    <option value="Kentucky">Kentucky</option>
    <option value="Louisiana">Louisiana</option>
    <option value="Maine">Maine</option>
    <option value="Maryland">Maryland</option>
    <option value="Massachusetts">Massachusetts</option>
    <option value="Michigan">Michigan</option>
    <option value="Minnesota">Minnesota</option>
    <option value="Mississippi">Mississippi</option>
    <option value="Missouri">Missouri</option>
    <option value="Montana">Montana</option>
    <option value="Nebraska">Nebraska</option>
    <option value="Nevada">Nevada</option>
    <option value="New Hampshire">New Hampshire</option>
    <option value="New Jersey">New Jersey</option>
    <option value="New Mexico">New Mexico</option>
    <option value="Mew York">Mew York</option>
    <option value="Morth Carolina">Morth Carolina</option>
    <option value="Morth Dakota">Morth Dakota</option>
    <option value="Ohio">Ohio</option>
    <option value="Oklahoma">Oklahoma</option>
    <option value="Oregon">Oregon</option>
    <option value="Pennsylvanai">Pennsylvanai</option>
    <option value="Rhode Island">Rhode Island</option>
    <option value="South Carolina">South Carolina</option>
    <option value="South Dakota">South Dakota</option>
    <option value="Tennessee">Tennessee</option>
    <option value="Texas">Texas</option>
    <option value="Utah">Utah</option>
    <option value="Vermont">Vermont</option>
    <option value="Virginia">Virginia</option>
    <option value="Washington">Washington</option>
    <option value="Washington D.C.">Washington D.C.</option>
    <option value="West Virginia">West Virginia</option>
    <option value="Wisconsin">Wisconsin</option>
    <option value="Wyoming">Wyoming</option>
    <option value="Other">Other</option>
  </select></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  Zip:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Zip" size="20" tabindex="5"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  Phone Number:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Phone_Number" size="20" tabindex="6"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  Email Address:<!--webbot bot="Validation" B-Value-Required="TRUE" --><input type="text" name="Email_Address" size="20" tabindex="7"></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  How Many To Attend:<!--webbot bot="Validation" B-Value-Required="TRUE" --><select name="Number_Of_People_Attending" size="1" tabindex="8">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10 +">10 +</option>
  </select></font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  I Wish To Attend:</font><font color="#FF0000">(Required)</font><font color="#000000"><br>
  <input type="checkbox" name="Wed_8th_1pm" value="ON" tabindex="9">Wednesday the 8th of
  December at 1:00pm - registration begins at 12:30pm <br>
  &nbsp;&nbsp;&nbsp;&nbsp; Holiday Inn Select Galleria<br>
  &nbsp;&nbsp;&nbsp;&nbsp; 2712 SW Frwy<br>
  &nbsp;&nbsp;&nbsp;&nbsp; Houston, TX 77098<br>
  &nbsp;&nbsp;&nbsp;&nbsp; (713) 523-8448<br>
  <input type="checkbox" name="Wed_8th_6:30pm" value="ON" tabindex="10">Wednesday the 8th of
  December at 6:30pm - registration begins at 6:00pm <br>
  &nbsp;&nbsp;&nbsp;&nbsp; Holiday Inn Select Galleria<br>
  &nbsp;&nbsp;&nbsp;&nbsp; 2712 SW Frwy<br>
  &nbsp;&nbsp;&nbsp;&nbsp; Houston, TX 77098<br>
  &nbsp;&nbsp;&nbsp;&nbsp; (713) 523-8448<br>
  <input type="checkbox" name="Thursday_9th_1pm" value="ON" tabindex="11">Thursday the 9th
  of December at 1:00pm - registration begins at 12:30pm<br>
  &nbsp;&nbsp;&nbsp;&nbsp; Wyndam Hotel Greenspoint
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
  &nbsp;&nbsp;&nbsp;&nbsp; 12400 Greenspoint Dr.&nbsp;&nbsp;&nbsp; <br>
  &nbsp;&nbsp;&nbsp;&nbsp; Houston, TX 77060<br>
  &nbsp;&nbsp;&nbsp;&nbsp; (281) 875-2222<br>
  <input type="checkbox" name="Thrusday_9th_6:30pm" value="ON" tabindex="12">Thursday the
  9th of December at 6:30pm - registration begins at 6:00pm<br>
  &nbsp;&nbsp;&nbsp;&nbsp; Wyndam Hotel Greenspoint
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
  &nbsp;&nbsp;&nbsp;&nbsp; 12400 Greenspoint Dr.&nbsp;&nbsp;&nbsp; <br>
  &nbsp;&nbsp;&nbsp;&nbsp; Houston, TX 77060<br>
  &nbsp;&nbsp;&nbsp;&nbsp; (281) 875-2222</font></p>
  <div align="center"><center><p><br>
  <input type="submit" value="Submit form to confirm reservation" name="B1" tabindex="13"><br>
  <input type="reset" value="Reset" name="B2" tabindex="14"></p>

As I've seen, the code is perfect to recover the e-mail address, in my Navigator is correct at least. Sometimes, in developing, this problem usually happens to me, there is a field that FP can't get as necessary. Many times is as simple as reinit the system.
Be sure of select JAVA sources on your project Properties in FP.
Do ya have possibility of ASP for autoresponder??.
You must delete the part of your page that opens and closes form in the middle of your file, that's <form></form>, this is nonsense.

Hope this helps!!!
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

dj00Author Commented:
I still am confused.  How would I set up an autoresponder then using the email address that they left?

Thanks for all of your help!!!!

Can you use ASP????
dj00Author Commented:
I am sorry. I don't know what asp is?

Well, dj00. so I think the thing you want to do it's only possible with somekind of programming, like ASP, JAVA, or Visual Basic. Try to look on Internet in how to do that thing. As I think you are still not high-leveled (so you are in the right way)... try to search in Altavista or Yahoo about VBScript or Java. In some place you'll find a site with that code. I think it's too hard to explain it to you in here!!
Come on and luck!!
Well, I think there's an alternative more easy for this task:
Inside the line of form tag, in the module action="..., you can type emailto:youremail@yourserver".
By this way, all the information of your form will arrive to your e-mail account. Once in you e-mail client you can set an autoresponder for the mail coming from your web depending of what you are using, Outlook, Eudora...
Try this if you don't want to get involved into hard programming..
Hope this helps!!
"asp" is an extension, like "htm"... except, it allows for usage of system components like .dlls that perform functions like Auto-responders, database queries, etc...
If hosted on an NT server, you have this functionality available to you, simply by renaming your page name from  MY_PAGE.htm   to MY_PAGE.asp  ...
But all you'll have to do is actually put a tiny little script (ex. <!--#INCLUDE VIRTUAL="c:\FOLDER\SUB-FOLDER\WEB-FOLDER\cgi-bin\mailer.asp" -->

on the very top of your form confirmation page...above the <HTML> tag...

...and then make a new page with nothing on it except this...and name it mailer.asp(as in the case of the previous example reference):



<body bgcolor="white">

<p align="center"><% = Request.QueryString("Email") %><small><font face="Arial" color="#0000A0"><strong><%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")

rem change this RemoteHost to a valid SMTP address before testing
Mailer.RemoteHost  = "yourmailserver.com"

Mailer.FromName    = "Your Business"
Mailer.FromAddress = "sales@your.com"
Mailer.AddRecipient "Your Name      ", "you@your.com"
Mailer.AddRecipient "Your OTHER Name      ", "her@your.com"
Mailer.Subject     = "Your Order!"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "We appreciate your order!<br>"
Mailer.BodyText    = "Happy Holidays from all of us at YOUR BUSINESS!"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "Total of Order--$" & Request.form("grandtotal")
Mailer.BodyText    = "Date of Order--" & Request.form("OrderDate")
Mailer.BodyText    = "Time of Order--" & Request.form("OrderTime")
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "*******************BILLING INFORMATION**************************"
Mailer.BodyText    = "First Name--" & Request.form("fname")
Mailer.BodyText    = "Last Name--" & Request.form("lname")
Mailer.BodyText    = "Email--" & Request.form("Email")
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "******************SHIPPING INFORMATION**************************"
Mailer.BodyText    = "Shipping Address--" & Request.form("ShipAddress")
Mailer.BodyText    = "City--" & Request.form("ShipCity")
Mailer.BodyText    = "State--" & Request.form("ShipState")
Mailer.BodyText    = "Zip Code--" & Request.form("ShipZip")
Mailer.BodyText    = "Country--" & Request.form("ShipCountry")
Mailer.BodyText    = "Telephone--" & Request.form("ShipPhone")
Mailer.BodyText    = "****************************************************************"
Mailer.BodyText    = "****************************************************************"

if not Mailer.SendMail then
  Response.Write " Mailing Failed... Error is: <br>"
  Response.Write Mailer.Response
  Response.Write ""
end if
Response.Write ""

In the above mailer script, you can see where the Form field values will appear on the body of the email as ....("ShipCountry")...etc...near the top you'll see "><% = Request.QueryString("Email") %> this is the email on the form that you want to send to..
You will need for the server that your site is on to have a third-party dll installed... like www.persits.com (aspemail)  or www.serverobjects.com (aspmail..my preference)

Hope THIS REALLY helps...
and by the way...
reject that BS answer that was posted previously...

This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed.  Also a question is posted there specific to these changes that apply to the experts here.  Also, I am including the link to our All Topics, since many new ones have recently been added.

Thank you,
Moderator @ Experts Exchange
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now