Go back
HTML FORM submission

HTML FORM submission

General

Vote Up
Vote Down

Ok, Microsoft have done it again! All i want to do is a simple form that submits with a "mailto" to an email account, but the brilliant people at Microsoft have developed a browser in IE6 that doesn't conform (yet again!!) to the HTML standard. Is there anyone out there that has found a simple solution to this problem (preferably one that doesn't involve me learning ASP and re-hosting my site on a Microsoft webserver)? Any help rec'd with thanks. 🙂

Vote Up
Vote Down

Originally posted by marinakatomb
Ok, Microsoft have done it again! All i want to do is a simple form that submits with a "mailto" to an email account, but the brilliant people at Microsoft have developed a browser in IE6 that doesn't conform (yet again!!) to the HTML standard. Is there anyone out there that has found a simple solution to this problem (preferably one that doesn't involv ...[text shortened]... arning ASP and re-hosting my site on a Microsoft webserver)? Any help rec'd with thanks. 🙂
I can give you a bit of php code which will do it for you, but you'll need to rename the page *.php and know which information to change to structure your own mailto process.

Vote Up
Vote Down

Originally posted by Starrman
I can give you a bit of php code which will do it for you, but you'll need to rename the page *.php and know which information to change to structure your own mailto process.
Considering i've never done anything with PHP before, would i get this done today, or spend the rest of the day reading up on it? (Thanks again for speedy response! 😀)

Vote Up
Vote Down

Originally posted by marinakatomb
Considering i've never done anything with PHP before, would i get this done today, or spend the rest of the day reading up on it? (Thanks again for speedy response! 😀)
Well, it just so happens I've found something for you. I'll PM you, it's all html too. you'll only need to insert your own e-mail address into the form.

1 edit
Vote Up
Vote Down

Originally posted by Starrman
Well, it just so happens I've found something for you. I'll PM you, it's all html too. you'll only need to insert your own e-mail address into the form.
Groovy, Thanks Liam! BTW, it doesn't look like this by any chance does it...

FORM METHOD="POST" ACTION="mailto:your email address"



Because IE6 doesn't support this....

Vote Up
Vote Down

Originally posted by marinakatomb
Groovy, Thanks Liam! BTW, it doesn't look like this by any chance does it...

FORM METHOD="POST" ACTION="mailto:your email address"



Because IE6 doesn't support this....
No, you're alright.

Vote Up
Vote Down

Originally posted by Starrman
No, you're alright.
Hey wow, you're a star! 😀

1 edit
Vote Up
Vote Down

Originally posted by Starrman
No, you're alright.

Vote Up
Vote Down

Originally posted by marinakatomb
Hey wow, you're a star! 😀
Which means you have to come to my next gig 🙂

Vote Up
Vote Down

Originally posted by Starrman
Which means you have to come to my next gig 🙂
Do I have to put money in your cap?

Vote Up
Vote Down

Originally posted by Starrman
Which means you have to come to my next gig 🙂
I'd love to! The last one was awesome. Let me know when it is and i'll bring Freddie and Matt 😀

Vote Up
Vote Down

Originally posted by marinakatomb
I'd love to! The last one was awesome. Let me know when it is and i'll bring Freddie and Matt 😀
Saturday 25th same place, 8:00pm

Vote Up
Vote Down

Originally posted by marinakatomb
Ok, Microsoft have done it again! All i want to do is a simple form that submits with a "mailto" to an email account, but the brilliant people at Microsoft have developed a browser in IE6 that doesn't conform (yet again!!) to the HTML standard. Is there anyone out there that has found a simple solution to this problem (preferably one that doesn't involv ...[text shortened]... arning ASP and re-hosting my site on a Microsoft webserver)? Any help rec'd with thanks. 🙂
I could easily give you some ASP-code that works, but since that's not an option, try this link. Don't know if it helps...looks like som CGI-stuff is needed:
http://www.javascript-coder.com/html-form/html-form-email.phtml

Vote Up
Vote Down

Originally posted by marinakatomb
Groovy, Thanks Liam! BTW, it doesn't look like this by any chance does it...

FORM METHOD="POST" ACTION="mailto:your email address"



Because IE6 doesn't support this....
I don't know of a single browser in the world that can send an email from a form. When my clients require this functionality I always have to cook up a little serverside script (ASP, PHP, Perl) and have that script receive the formdata and send it from the server.

If you use method post and action mailto, it gets all base64:d when sent from firefox (for instance), which is hardly readable in the end.

Do you mean to say that you've actually done this without server-side scripting, and it works? 😲

Vote Up
Vote Down

Originally posted by stocken
I don't know of a single browser in the world that can send an email from a form. When my clients require this functionality I always have to cook up a little serverside script (ASP, PHP, Perl) and have that script receive the formdata and send it from the server.

If you use method post and action mailto, it gets all base64:d when sent from firefox (for i ...[text shortened]... you mean to say that you've actually done this without server-side scripting, and it works? 😲
No, there's a hosted program the form links to.