S
Sam
Does anybody know the proper format to pass content-type in a mailto: Link?
Here is what I have. I doesn't work if I escape() the whole body either.
var z = new String("mailto:");
if('w' == move) {
z += escape(wh) + "?to=" + escape(wh);
} else {
z += escape(bl) +"?to=" + escape(bl) ;
}
z += "&subject=email chess&body=" +
"Content-type: text/html; charset=\"US-ASCII\" " + /*does not work!*/
"Content-transfer-encoding: quoted-printable " + escape(
"<html><a href='" +
theurl() +
"?d=" + rlc(board) +
"&w=" + wh +
"&b=" + bl + "&m=" + move +
"'>Please click here</a></html>") ;
location.replace(z);
Here is what I have. I doesn't work if I escape() the whole body either.
var z = new String("mailto:");
if('w' == move) {
z += escape(wh) + "?to=" + escape(wh);
} else {
z += escape(bl) +"?to=" + escape(bl) ;
}
z += "&subject=email chess&body=" +
"Content-type: text/html; charset=\"US-ASCII\" " + /*does not work!*/
"Content-transfer-encoding: quoted-printable " + escape(
"<html><a href='" +
theurl() +
"?d=" + rlc(board) +
"&w=" + wh +
"&b=" + bl + "&m=" + move +
"'>Please click here</a></html>") ;
location.replace(z);