i m trying to send an email through a web site like this:
function btnsend_onclick() {
if (document.frmreply.txt.value=="")
alert ("not good");
else
window.location.href="mailto:[email protected]?subject=" + document.frmreply.txt.value ;
}
the problem is that when the outlook opens it puting the next line on the "To" field :
[email protected]?subject=the text
and than when i m trying to send it doesnt send the mail
cause there is no such email address "[email protected]?subject=the text"
how can i fix that so it would work ?
tnx lirlir




Reply With Quote