Simple way to send e-mail using javascript
<p>I wanted to know how to <strong>send e-mail using javascript.</strong>
I dont want to use long functions with  tag n all other stuff. Interested in only one/two liner statement which will allow me to send mail.</p>

<p>I have used something like that earlier :</p>

<pre><code>function sendmail(_frm)
{
var eml="you@youraddress.com";
var bod="&amp;body="+_frm.selOne.value+" ¦¦ "+_frm.txtOne.value;
var subj="?subject=Whatever you want";
location.href="mailto:"+eml+subj+bod;
}

At Form tag
&lt;form action="mailto:you@youraddress.com" 
enctype="text/plain"
method="POST" onsubmit="sendmail(this);return false;"&gt;
</code></pre>

<p>I dont want to use above approach to send mail...</p>

<p>Please provide me your suggestion so that i can send mail very easily by using javascript , like below.
e.g.</p>

<pre><code>function sendmail () {
location.href="mailto:&lt;other stuff&gt;"
}
</code></pre>

<p>Is anyone has any idea about this, please share their ideas here.</p>

<p>Thanks a lot....</p>
