PDA

View Full Version : Mailto form not working on XP


ronaldb66
04-04-2003, 07:40 AM
Ok, really dumb subject, but someone asked my help and I just can't figure out what's wrong:
This person uses a simple form with action="mailto:..." to offer members of his club to sign up for certain club events.
It is said to work on a winME/2000 client, but an XP client sends an empty mail with no text.
I haven't put the form online somewhere; if anyone really wants to take a look at the entire source I will, but here's the form opening tag anyway:
<form name="entryfrm2003" action="mailto:noreal@mailaddress.nl"
method="post" enctype="application/x-www-form-urlencoded"
onSubmit="return checkrequired(this)">
(obviously, in the real form the mail address is a real one...)
If anyone encountered a similar problem, I'm really interested in the solution; I myself suspect some sort of security issue in XP.
I'm aware of the security risks of sending forms to an email address, but it's not my choice and I can't judge if this person has the ability to set up some form handler.

meow
04-04-2003, 10:46 AM
Have you tried it w/o javascript so you know that's not what's stopping it?
If you have, maybe your email client is configured to not use mapi or isn't mapi enabled? I have that choice in Eudora. Don't think it's XP.

All in all - mailto isn't reliable. Use a remotely hosted form handler script instead if you can't host it yourself. Even Bravenet's works just fine. ;)

ronaldb66
04-04-2003, 11:11 AM
Meow,

thanks for replying; the earlier version of the form didn't contain the validation script yet (thanks, Javascriptkit!), so that shouldn't be the problem.
I'll ask what mail client they tested with (I can't test it here myself), and suggest checking if MAPI is set and enabled; thanks for that, anyway.

Still, I agree with you that mailto isn't reliable; I whacked together a simple form handler in PHP (thanks, weberdev!) to send an email based on the form contents, but I don't know if that's feasable for him. I tried it on a free lycos account, and it worked flawlessly.