ti*******@gmail.com wrote:
Example code:
<FORM method="post" action="mailto:ti********@toyota.com"
enctype="text/plain">
Don't do that.
See <http://www.w3.org/TR/html4/interact/forms.html#h-17.3>, for example:
[The 'action' attribute] specifies a form processing agent. User
agent behavior for a value other than an HTTP URI is undefined.
A mailto: URI does not count as an HTTP URI, so it's invalid.
Having said that, *some* browsers will *attempt* to email a form built in
this way, but you can't rely on this happening, and you don't get any
warnings when it fails.
Process your forms with a script running on your server. That's the only
reliable way of doing things.
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/