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

form - not submitting to email

Hi

Can you help.  I have set up an enquiry form in frontpage.  I would like the submissions to be forwarded to an email address, and a custom confirmation page to be shown.

Issue 1 - email notification
the form will only submit to a file on the server and ignores the email setting i have put in.  I have tried with both file and email, and also each on their own.  result is the same - will only submit to file.

The contents of the form do not go to email or custom confirmation, just redirects to my domain with /_vti_bin/shtml.exe/enquiry.htm - the blank form.  No error messages are received.  

Issue 2 - confirmation page
If i have an email address in it doesnt go to the default confirmation page nor the custom confirmation- it redirects back to the form page but the form is again blank and /_vti_bin/shtml.exe/ appears in the address.

When the email address is removed the confirmation page appears again or the custom confirmation - whichever i choose.

All is fine if i dont want to email!

tearing my hair out.  grateful of any help.





I have deinstalled and reinstalled the extensions to see if it is that - to no avail.
0
conlant
Asked:
conlant
  • 9
  • 9
1 Solution
 
coreybryantCommented:
>> have tried with both file and email, and also each on their own.  result is the same - will only submit to file.

When you enter the email address and hit OK - make sure you do not remove the email address.

When you hit OK on the form in form properties, you get something like:
This form cannot be congifured to send results via email.  The web site may be located at a disk based location or on a server that has not been configured to send email.  Contact your system adminstrator or Internet service provider for more information.

Would you like to remove the e-mail recipient?
Make sure you choose no - a lot of people hit yes and this happens.  

>>If i have an email address in it doesnt go to the default confirmation page nor the custom confirmation- it redirects back to the form page but the form is again blank and /_vti_bin/shtml.exe/ appears in the address.

You are publishing the form and did you reinstall FPSE?

Do you have the source code to the opening form tag?

-Corey
0
 
conlantAuthor Commented:
When you enter the email address and hit OK - make sure you do not remove the email address.
>>>  no i made sure the email address stays

When you hit OK on the form in form properties, you get something like:
>>>  no nothing at all - no error message

Would you like to remove the e-mail recipient?
>>> chose no

You are publishing the form and did you reinstall FPSE?  
>>>>Yes whether i am publishing the form to csv file or not this happens.  I did remove and reinstall the server extensions.

Do you have the source code to the opening form tag?
>>>> yes, but it is currently set to log in the csv file as that is all I can get to work.  Let me reset it back to email and I will paste the code in.

thanks for your help corey.

0
 
coreybryantCommented:
>>Yes whether i am publishing the form to csv file or not this happens.
I don't really understand this.  When I say publish - I mean going to File - publish and making sure you are publishing to http://www.example.com.   Do not use FTP

The CSV and email should work.  Is this your own server or do you have support from a web hosting provider?

-Corey
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
conlantAuthor Commented:
>>Yes whether i am publishing the form to csv file or not this happens.
Sorry I was talking about whether I published to the form or email it redirects to the _vti_bin/shtml.exe.  

Yes I published using frontpage, not FTP

The server is with heartinternet.  

Thanks

Tracy
0
 
coreybryantCommented:
You should contact them also and make sure that FP is set up on the server to send email.  if it is a new server, etc there are things that need to be done.

-Corey
0
 
txkhomesCommented:
can you post the code that you are using so we can better help you in getting the right answer

Rodney
0
 
conlantAuthor Commented:
here is the code :o|

            <form method="POST" action="--WEBBOT-SELF--">
      <!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="conlantracy@hotmail.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields -->
      <p><font face="Tahoma">Name </font><font face="Tahoma">
      <input type="text" name="name" size="20"></font></p>
      <p><font face="Tahoma">Email </font><font face="Tahoma">
      <input type="text" name="email" size="20"></font></p>
      <p><font face="Tahoma"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></font></p>
            </form>
0
 
conlantAuthor Commented:
have removed everything from the site and deinstalled and reinstalled the extensions I am now getting this message on the confirmation page:-

Cannot run the FrontPage Server Extensions on this page

For info the code pasted above is from the new page set up.

thanks for your help.
0
 
coreybryantCommented:
Can you create a new form with one input.  Publish that and see if that works?  Your form itself might be corrupted

-Corey
0
 
conlantAuthor Commented:
same result :o(
0
 
coreybryantCommented:
What did your web hosting provider say about the error?

Has it worked before and just stopped?

-Corey
0
 
conlantAuthor Commented:
web host said that it should work no problem, but i just cant get it to.

"There is no reason why a form to mail script will not work on our servers. If you are having problems with yours you may like to try ours which can be installed from the cgi php scripts section "

I have just tried it on another domain with the same host and am getting the same result.

i have done this many times before but using 1to1 as my host and it has always worked a treat

i have the custom cgi script which my host said I could use as a work around, but Im not sure how to get that working so that it submits the form info to email.  see custom script below.  I obviously know what to put in for the domain and folder...

<form action="http://www.yourdomain.co.uk/folder-you-chose/FormMail.cgi" method="post">
<input type="hidden" name="recipient" value="you@yourdomain.co.uk">
<input type="hidden" name="subject" value="This is a test">
<input type="hidden" name="redirect" value="http://www.yourdomain.co.uk">

Your Email Address: <input type="text" size=20 name="email"><br/>
Your Full Name: <input type="text" size=40 name="realname"><br/><br/>

<input value="Submit Comments" type="submit"> <input value="Clear Form" type=reset>

</form>


Thanks Tracy
0
 
coreybryantCommented:
This is not a typical form to email error.  This is a Frontpage error.  It seems they do not understand that issue.  

They might not support it even or have everything activated properly

-Corey
0
 
conlantAuthor Commented:
i have the ability to turn the frontpage server extensions on and off and am able to publish from frontpage when the extensions are installed.

When you say it is a frontpage error .... i have set it up correctly and there isnt a reason for the code not to work?

is there something i should be saying to them?  What do you think may not be activated properly?
0
 
coreybryantCommented:
Even turning off the FPSE can cause more problems.

Their answer to me seems they do not understand it is a FPSE issue.  At this point it might be above what you have the capabilities.  They need to check the FPSE admin control panel to make sure everything is set up properly.  Make sure you give the the URL to the problem page.  And ask them to hit submit.  It sounds like they do not have FPSE configured properly

-Corey
0
 
conlantAuthor Commented:
their support is generally great.  What should I tell them to check on the fpse control panel if i need to be specific?

they are checking the pages again just now.  thanks corey you are a star.
0
 
coreybryantCommented:
it could be a number of things.  it could be they do not have the email server set up.  It could be they do not the WWW server whitelisted on the email server.  Those are usually the number two things that are the problem.   FPSE can be very particular at times

-Corey
0
 
conlantAuthor Commented:
i have just had the response:-

The form mail your are trying to use is shtml.exe this is a windows only component which will not run on a Linux based server. You will need to use a frontpage form to mail script that is not an .exe type. Or if you want to use ours, I have installed our formail script to a folder called formtomail and you can access it by editing your code

to the code above.

is this a fair answer?
0
 
coreybryantCommented:
It seems they do not understand the FPSE.  FPSE can work on *NIX.  I do not use *NIX at all - only Windows.  The only problems I have seen with *NIX and FPSE is if you want to use the FP upload component

FPSE handle the processing of the form

-Corey
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

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