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:firstname.lastname@example.org""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.
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.