Forms - messages do not arrive (Posted by robin)
I have two forms on my homepage. They have worked perfectly for almost 2 years. Now they don't. Messages do not arrive at my e-mail adress anymore (i have checked). Could you tell me what's wrong?
Form 1:
<FORM METHOD="post" ACTION="mailto:[email protected]" ENCTYPE="text/plain">
Naam:<BR> <INPUT TYPE="text" NAME="naam" SIZE="30"> <BR>
e-mail: <BR> <INPUT TYPE ="text" NAME="adres" SIZE="30"> <BR>
Opmerkingen/suggesties/vragen etc.: <BR> <TEXTAREA NAME="comments" ROWS=15 COLS=40></TEXTAREA> <BR>
<INPUT TYPE="submit" VALUE="Verzenden"> <INPUT TYPE="reset">
</FORM>
Form2:
<FORM METHOD=POST ACTION="mailto:[email protected]">
Your name:<BR> <INPUT TYPE="text" NAME="naam" SIZE="30"> <BR>
e-mail: <BR> <INPUT TYPE ="text" NAME="adres" SIZE="30"> <BR>
URL: <BR> <INPUT TYPE ="text" NAME="url" SIZE="30" VALUE="http://">
<BR>
In welke categorie hoort deze link thuis?
<BR>
<SELECT NAME="where" SIZE="1">
<OPTION SELECTED>Webdesign
<OPTION>Music
<OPTION>Comics
<OPTION>Just fun!
<OPTION>Other
</SELECT>
<BR> <BR>
<INPUT TYPE="submit" onClick="alert('Bedankt!')"><INPUT TYPE="reset">
</FORM> </font>
I haven't got a clue! Help!
Thanks,
Robin
Ian posted this at 22:36 — 28th October 1999.
They have: 67 posts
Joined: Aug 1999
Hi Robin,
I just tested both of your forms with NS4.7 and they both work well, mail was sent and received without any problem ( I think you got one to by accident to, *sorry*). The only improvement I would make to the second one is to add ENCTYPE="text/plain" to it after your email address like on the first one.
Do you have any other scripts running on those pages which may be conflicting with these ones? (just a thought).
Ian
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
robin posted this at 22:56 — 28th October 1999.
They have: 17 posts
Joined: Sep 1999
I've also tested these forms in an empty page without any scripts. They did not work. But I have received your mail! Could it be that my host Angelfire is the cause of al these trouble?
Thank you for helping,
Robin
Ian posted this at 01:13 — 29th October 1999.
They have: 67 posts
Joined: Aug 1999
hahaha, opps sorry (you got the mail).!!
can you post your URL please?
Ian
just a thought, have you tried setting one up one your HDD and testing it?
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
robin posted this at 21:06 — 29th October 1999.
They have: 17 posts
Joined: Sep 1999
Please, don't be sorry.
My URL is http://www.angelfire.com/ak/rpvschaik
Go to Links! or Contact me!
By the way, the text is all in dutch.
What do you mean by HDD
I won't be able to read this discussion untill monday. Would you be so kind to check this discussion Monday?
Thanks,
Robin
vy22 posted this at 01:55 — 30th October 1999.
They have: 296 posts
Joined: Sep 1999
Hey I have the same problem!! I have been looking for advise on this for ages. I used the mailto: command too and when the user fills it in (ie me) it says blablabla this will be sent by e-mail and then the e-mail is totally blank! It works on some pages but not on others. When I filled yours in it was blank too. Maybe it has something to do with browsers. I have IE5 and I am sure it worked before. If you have any luck finidng out what it is would you be able to e-mail me? I do check these discussions daily but I might not find this discussion again. mailto: [email protected] thanks!!
~Vy~
----------
~Vy~
JP Stones posted this at 02:53 — 30th October 1999.
They have: 2,390 posts
Joined: Nov 1998
HDD = Hard Drive (local)
JP
----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center
Ian posted this at 03:17 — 30th October 1999.
They have: 67 posts
Joined: Aug 1999
Hi,
ok, I set up both scripts on different pages, and set them in tables the same as on the site and posted them on my home server as well as on xoom ( hopeing for some sort of conflict from the add bar), and spammed my self, all that I sent from both sites made it back, including the info submitted on them. I don't see any obvious difference in the scripts as to why the ones I set up worked and the ones on Robin's site don't.
VY22, what is the url where yours is?
I run a couple of scripts similar to these but the only trouble I have every had has been when a web tv or aol users submits through them. You end up with the text but with "2F%" and other things through it. I seem to remember web tv submissions were blank though.
So what next?
Thanks JP for clearing up the HDD matter.
Ian
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
vy22 posted this at 03:29 — 30th October 1999.
They have: 296 posts
Joined: Sep 1999
Hi
You will find my form on http://www.usfaz.com/members/johnny/submit.html
this works sometimes but other times sends blank e-mails. I just can't figure it out! I am using almost the same script as yours.
Thanks
~Vy~
----------
~Vy~
cds posted this at 18:22 — 30th October 1999.
They have: 359 posts
Joined: Mar 1999
if you have cgi-bin access, why don't you use a cgi script to handle the chore for you? Gives a more readable output. if angelfire doesn't allow it, maybe your dial-up does
btw, i tried the two forms on my own website and they worked good.
----------
Dan
http://cds-computers.com
Dan
Recycle Video Games Network
Stupidity killed the cat, curiosity was framed!
robin posted this at 22:02 — 1st November 1999.
They have: 17 posts
Joined: Sep 1999
Hey Ian,
I've tested your script Ian, but I'm afraid it doesn't work on my homepage. Really appreciating your effort though!
> Robin
robin posted this at 00:23 — 2nd November 1999.
They have: 17 posts
Joined: Sep 1999
Hello I'm back! Thanks for all your replies on this subject. Always nice to hear, I'm not the only one with a problem.
I only have access to the internet via the university i'm studying at. I do not have a hard drive for my own use. I also don't have a cgi-bin access.
I think I'll also mail Angelfire (again) and ask them if they're the cause of this!
I think the browser can't be the cause of this. At the moment I'm working with netscape 4.0 but messages send with explorer didn't arrive either!
If Angelfire is the problem, I do find it strange that the forms worked perfectly until recently.
> Robin
vy22 posted this at 01:49 — 2nd November 1999.
They have: 296 posts
Joined: Sep 1999
I agree with you Robin, How come these forms worked before and suddenly stopped? I would use cgi but unfortunatley don't understand how it works all I know is that you are meant to use a cgi script in a folder called scripts/cgi I think. I have tried viewing a few websites and even using the wizards on some proggies but I still can't make head nor tail about it. What do I use to code cgi scripts in? Anyway seems a bit daunting just for a simple form! All I want is a simple e-mail with a list of all the users input like this:
name: bobalob
e-mail:[email protected]
etc etc..
it worked before but not anymore? I think this is a case for the X-files!
~Vy~
----------
~Vy~
Ian posted this at 03:30 — 2nd November 1999.
They have: 67 posts
Joined: Aug 1999
Hey vy22 and Robin,
If you have time, do you want to set this script up and see if you have any joy with it on your site or if it is just as bad. If it works, feel free to use it.
<script language="JavaScript">
function mailMe( form ) {
// put some checks here
return true;
}
</script>
<!--remember to put your email address in --><form name="email" method="POST" action="mailto:[email protected]"
onSubmit="return mailMe( this.form )" enctype="text/plain">
<b><p>YOUR NAME:</b><br>
<input type="text" name="SUBMITED BY" value size="30"><br>
<b>ENTER YOUR URL:</b><br>
<input type="text" name="URL LOCATION" value="http://" size="30"><br>
<b>YOUR E-MAIL ADDRESS:</b><br>
<input type="text" name="EMAIL ADDRESS" value size="30"><br>
<b>YOUR COMMENTS:<br>
<textarea NAME="COMMENTS" ROWS="8" COLS="30" wrap="virtual"></textarea><br>
<input type="submit" value="Submit "><input type="reset" value="Reset"></p>
</form>
<!-- -->
see what you can come up with.
and let me know it is works, I still have another if it doesn't.
Ian
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
vy22 posted this at 22:58 — 2nd November 1999.
They have: 296 posts
Joined: Sep 1999
Yes Ian it did not work on my page either. Just like my one I get blank e-mails. It might not nessecarily be the browser but what about the e-mail software? Hey Robin have you set you e-mails to be text or html? Just a theory like cause it does say enctype=text doesn't it?
~Vy~
----------
~Vy~
Ian posted this at 03:09 — 3rd November 1999.
They have: 67 posts
Joined: Aug 1999
Well, you can try this one. If that doesn't work, I would consider going to a place that hosts remote email forms and set one of them up on your site. There are plenty of free ones about.
I think your server is the possible cause and it would be interesting to know what they have to say about it. You may have to do a bit of customizing for this one.
<script Language="JavaScript">
<!-- hide script from non compliant broswers
function mailIt(form) {
var data = document.dataForm
var userInfo = ""
// comment out the next line if you want to hardcode the recipient
// then add '[email protected]' to the 'mailform' action attribute
// (i.e. -- ACTION="mailto:[email protected]")
form.action += data.recipient.value
// comment out the next line if you want to hardcode the subject
// then add '?subject=example' to the'mailform' action attribute.
// You must hardcode an address before you can hardcode a subject.
// (i.e. -- ACTION="mailto:[email protected]?subject=example")
form.action += "?subject=" + data.subject.value
userInfo += "Page Title: " +document.title + "\n"
userInfo += "Mailed From: " + document.location + "\n\n"
form.mailBody.value = userInfo + "\n"+data.name.value +"\n"
+ data.country.value + "\n" + data.email.value
+ "\n"+data.comments.value
return true
}
// end hiding from non compliant browsers-->
</script>
<!-- --><table>
<form NAME="dataForm">
<!-- DELETE THIS TABLE ROW IF YOU'RE HARDCODINGA RECIPIENT -->
<tr>
<th ALIGN="right">Recipient:
<td><input NAME="recipient" SIZE="40" VALUE="YOUR@EMAIL-ADDRESS">
</tr>
<!-- DELETE THIS TABLEROW IF YOU'RE HARDCODING A SUBJECT -->
<tr>
<th ALIGN="right">Subject:
<td><input NAME="subject" SIZE="40" VALUE=" my mail">
</tr>
<tr>
<th ALIGN="right" VALIGN="top">Your Name:
<td><input NAME="name" SIZE="40" VALUE>
</tr>
<tr>
<th ALIGN="right" VALIGN="top">Country:
<td><input NAME="country" SIZE="40" VALUE>
</tr>
<tr>
<th ALIGN="right" VALIGN="top">Email:
<td><input NAME="email" SIZE="40" VALUE>
</tr>
<tr>
<th ALIGN="right" VALIGN="top">Comments:
<td><input NAME="comments" SIZE="40" VALUE>
</tr>
</form>
</table>
<form NAME="mailForm" ACTION="mailto:" METHOD="post" ENCTYPE="text/plain" onSubmit="return mailIt(this)">
<input TYPE="hidden" NAME="mailBody" VALUE>
<tr>
<td COLSPAN="2" ALIGN="right">
<input TYPE="submit" VALUE="Send My Email Now">
</tr>
</form>
<!-- -->
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
robin posted this at 00:56 — 5th November 1999.
They have: 17 posts
Joined: Sep 1999
Sorry Ian but I've tried this one to but it didn't work either. I'm planning to leave angelfire. My forms also don't work at tripod.
Thanks,
Robin
robin posted this at 04:58 — 8th November 1999.
They have: 17 posts
Joined: Sep 1999
Hi I'm back!
I have found a Free E-mail Form Processing host. It's at www.bravenet.com. Does anybody know if they are any good. Or does anybody know of a host that provides excellent service for form processing/cgi-bin for free?
Please let me know,
Thanks,
Robin
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.