PDA

View Full Version : Email Forms in FrontPage



sporter5
04-26-2008, 04:41 PM
I just migrated to BlueHost from another host and everything works fine except that when a user submits a form no email is being generated. Everything else about the form is working fine. i didn't change anything when I migrated the pages, I just uploaded the same html files that I had on the previous server, where the emails worked fine.

Here's the code that frontPage generated automatically. Anyone see anything wrong? I tried several different email addresses instead of "registrations@fmwonline.com" but none of them worked:

<form method="POST" name="FrontPage_Form2" action="--WEBBOT-SELF--" onsubmit="location.href='../../_derived/nortbots.htm';return false;" WEBBOT-onSubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
<!--webbot bot="SaveResults" U-File="../../Reg/registrations050808mbs.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="HTML/BR" S-Email-Address="registrations@fmwonline.com" B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="FALSE" S-Email-ReplyTo="Financial Markets World" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Registration - 05/08/08 MBS Seminar" S-Builtin-Fields U-Confirmation-Url="reg_conf_form_050808mbs.htm" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="1"><!--webbot bot="SaveResults" endspan i-checksum="43406" -->

felgall
04-26-2008, 06:51 PM
Have you enables FrontPage extensions for your hosting?

sporter5
04-26-2008, 08:51 PM
Yes, the FP extensions are installed. All the other FrontPage form features work fine, including the field validation and saving the results to a .csv file. It just doesn't send the email confirmation.

PainKiller
04-26-2008, 09:23 PM
I suspect it's a problem similar to what I've been dealing with (http://www.bluehostforum.com/showthread.php?t=13015). Without seeing the code behind your form, it's hard to tell. Does your script use SMTP to send the email?

Jack

sporter5
04-27-2008, 01:02 PM
The script is pasted above, in my original post. That was generated by FrontPage. It worked on my previous host but not on BlueHost. Unfortunately, I have no technical knowledge whatsoever, so i can't answer the SMTP question.

felgall
04-27-2008, 01:32 PM
Does the email account the email is using as a from address actually exist?

PainKiller
04-27-2008, 04:35 PM
The script is pasted above, in my original post.
That looks to me like the form code, but I think it interacts with a script that's not included in what you posted. But I could be wrong, I don't know anything about FrontPage.

Jack

sporter5
04-27-2008, 07:28 PM
Does the email account the email is using as a from address actually exist?

Yes. I've tried several different addresses, but I never receive the email.

greenman
04-27-2008, 09:04 PM
http://helpdesk.bluehost.com/kb/index.php?x=&mod_id=2&id=222

Web Bots aren't possible on Blue Host. BH doesn't serve ASP or .NET. You may have to convert to php. (See URL above.)


<form method="POST" name="FrontPage_Form2" action="--WEBBOT-SELF--" onsubmit="location.href='../../_derived/nortbots.htm';return false;"
WEBBOT-onSubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
<!--webbot bot="SaveResults" U-File="...

M$ Frontpage was discontinued in 2003. It's five years out of date and insecure. If your site gets compromised, it could mean unhappy times for everyone on your box until your compromise is patched or removed.

Even if you moved to an ASP or .NET compatible host, you may want to consider being shed of Frontpage altogether because it is that insecure. Your neighbors on your shared server will thank you.