开发者

Add a variable to a javascript email

How would I add var bob to the body of this email?

var bob;
function sendMail() {
var link = "ma开发者_JS百科ilto:YourEmailHere"
         + "?cc="
         + "&subject=App Build Link Buit With MWFPRO's App Build Tool"
         + "&body=Hi" 
;

window.location.href = link;
}


var name = "Bob";
function sendMail() {
var link = "mailto:YourEmailHere"
     + "?cc="
     + "&subject=App Build Link Buit With MWFPRO's App Build Tool"
     + "&body=Hi " + name + ","; 
;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜