| Email Form Submit won't work
|
rudyvb

msg:4337488 | 8:38 pm on Jul 9, 2011 (gmt 0) | Hi All! I have seen this all over the web. I have tried the easy examples, but I still can not get email to send to my account. Maybe it's the email? I'm using email from GoDaddy, same place where my website is hosted. I know my email work, because I can use the same address, and send a test email. So it has to be the code.
<form action="mailto:someemail@sometime.com""ENCTYPE="text/plain" method="POST" reqmessage="One or more required fields need to be entered. Please go back and re-enter." transition="0"/> <input type="hidden" name="subject" value="HTMLPage1.html" /> <input type="hidden" name="redirect" value="HTMLPage1.html" /> I built this from samples that I found on the web. First HTML script in a number of years. I'm windows app developer, don't do many web sites. Any help will be great! Thanks! Rudy
|
lucy24

msg:4337544 | 12:39 am on Jul 10, 2011 (gmt 0) | | <form action="mailto:someemail@sometime.com""ENCTYPE="text/plain" |
| Hint: Put spaces around each = sign (you can take them out again later) and make sure there is a space between each tag (ditto). If this is not enough to make it jump up and hit you in the face, the w3c validator [validator.w3.org] is helpful because it puts the error(s) in bright red. At least it did when I pasted the full line into a doc of my own and tried it. It also screamed at an error of my own elsewhere in the code, so this was a good detour for me.
|
rudyvb

msg:4337553 | 3:20 am on Jul 10, 2011 (gmt 0) | Thanks Lucy for the tip!
|
rocknbil

msg:4338004 | 4:26 pm on Jul 11, 2011 (gmt 0) | I never use these, but try changing the method to GET. You're basically emulating a mailto:link with a form, get is the default action of query strings, etc. You do have a submit button, right? It has to be input type="submit" (or image), input type="button" has no inherent actions without client side scripting to attach actions to them.
|
|
|