Saturday, July 5, 2008

Form submission trick using mailto

<form method="post" action="mailto:chetancrasta@gmail.com" enctype="text/plain">
Using the above code along with the rest of the form code, you can receive form submissions by email.
However, most browsers will give a security warning to the user. Also, the browser will invoke the default email application or the application associated with the mailto protocol.
Note that the enctype attribute specifies the content-type only when the value of method is post.

No comments: