Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: phranque
This works in some email browsers, butnot in all it shows the %20 between the words,
Is there another way or is this about it?
Consider also that it's pretty darn easy to set up a PHP email contact form or ASP form if you have access to that. For instance, I use hotmail for everything, so clicking mailto links for me stinks for me. This will allow anyone and his dog to fill out the form, and you can even include "required fields" like phone number, etc.
with the & sign the page will not validate at w3c
Try replacing & with & - that should do the trick.
Having said that, I too would usually favor using a PHP or perl script and a web form rather than a mailto: link opening the user's email client. Their email client may not be configured correctly, or they may be on a public computer, or they may have a hotmail address, etc., whereas a web form will work fine in these cases. What's more, using a web form with a hidden recipient email address means that your address will be better protected from spam-bots scanning your pages for email addresses.