Reputation:
I made a form but it doesn't send to my email; instead, it opens Windows Live Mail.
Here is my code:
<form name="name" action="mailto:[email protected]" method="post">
What can I do to make the form send to my email instead of opening Windows Live Mail?
Upvotes: 0
Views: 43
Reputation: 4769
Your code IS good. Your code does exactly what it is supposed to do. When you submit a form with action
attribute involving a mailto:
, it opens up your email program to send an email to the [email protected]
address.
If you want the form to not send the email using the system's default mail program, you need to use something server-side. I don't know of any client side solutions, but who knows. There might be something out there...
Upvotes: 2