Tuesday, December 1, 2009

How can we send mail using JavaScript?

No, we can't send mail using Javascript. But we can execute a client side email client to send the email using mailto: code
Using clientside email client
function mailfunction(form)
{
tdata=document.myform.tbox1.value;
location="mailto:mailid@domain.com?subject="+tdata+"/MYFORM";
return true; }

No comments:

Post a Comment

I just got my #domain @BigRock. Get upto 25% off with my personalized coupon link Get upto 25% off