/    Sign up×
Community /Pin to ProfileBookmark

form opens email client instead of sending data?

I have built over 50 web sites and most of them contain a feedback form.
Now when I try to submit any of the forms from any of the sites it opens my email client with the correct mailing address with the body of the mail blank, instead of sending the form to the email address.
They were all working fine up to recently which makes me think that either some settings on my PC’s have changed or W3C have changed the standards.
The standard forms are all pretty much identical:
<FORM action=’mailto:me@my_address.com?subject=from the website form’ method=post encType=text/plain>
<input type=”text” name=”textfield1″>
<input type=”text” name=”textfield2″>
<input type=”text” name=”textfield3″>
</FORM>
I have tested this in both Netscape and IE on both WindowsXP and ’98 and it’s the same in both.
I have not changed any of the code on any of the sites but cannot get the forms to work.
Can anyone help with this problem.
Thanks
Paoloie

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundrySep 06.2004 — Welcome to the forums. Please don't [url=http://www.webdeveloper.com/forum/showthread.php?s=&threadid=43628]cross-post[/url].

The mailto: action for forms was never standardised by the W3C, and for good reason - this kind of processing belongs on the server side. [url=http://webdesign.about.com/cs/forms/a/aamailtobroke.htm]This article[/url] explains the problem and recommends some resources for solving it. Basically, you need to use a server-side script in a language of your choice (PHP, Perl, whatever).

Adam
×

Success!

Help @paoloie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...