<script> function popupMessage() { // SET MESSAGE VALUES var to = "[email protected]"; var cc = "[email protected]"; var bcc = "[email protected]"; var subject = "A Preformatted Email Message"; var body = "Chandler,\n\n\t<b>I'm sorry</b>, I can't make it tonight. " + "I have to rearrange my sock drawer. " + "\n\nSincerely,\n\nMonica" // BUILD MAIL MESSAGE COMPONENTS var doc = "mailto:" + to + "?cc=" + cc + "&bcc=" + bcc + "&subject=" + escape(subject) + "&body=" + escape(body); // POP UP EMAIL MESSAGE WINDOW window.location = doc; } </script> <input onclick="popupMessage()">
<script> function popupMessage() { // SET MESSAGE VALUES var to = "[email protected]"; var cc = "[email protected]"; var bcc = "[email protected]"; var subject = "A Preformatted Email Message"; var body = "Chandler,\n\n\t<b>I'm sorry</b>, I can't make it tonight. " + "I have to rearrange my sock drawer. " + "\n\nSincerely,\n\nMonica" // BUILD MAIL MESSAGE COMPONENTS var doc = "mailto:" + to + "?cc=" + cc + "&bcc=" + bcc + "&subject=" + escape(subject) + "&body=" + escape(body); // POP UP EMAIL MESSAGE WINDOW window.location = doc; } </script> <input onclick="popupMessage()">
function popupMessage() { // SET MESSAGE VALUES
var to = "[email protected]";
var cc = "[email protected]";
var bcc = "[email protected]";
var subject = "A Preformatted Email Message";
var body = "Chandler,\n\n\t<b>I'm sorry</b>, I can't make it tonight. " +
"I have to rearrange my sock drawer. " +
"\n\nSincerely,\n\nMonica" // BUILD MAIL MESSAGE COMPONENTS
var doc = "mailto:" + to +
"?cc=" + cc +
"&bcc=" + bcc +
"&subject=" + escape(subject) +
"&body=" + escape(body); // POP UP EMAIL MESSAGE WINDOW
window.location = doc;
}
</script>
<input onclick="popupMessage()">
function popupMessage() { // SET MESSAGE VALUES
var to = "[email protected]";
var cc = "[email protected]";
var bcc = "[email protected]";
var subject = "A Preformatted Email Message";
var body = "Chandler,\n\n\t<b>I'm sorry</b>, I can't make it tonight. " +
"I have to rearrange my sock drawer. " +
"\n\nSincerely,\n\nMonica" // BUILD MAIL MESSAGE COMPONENTS
var doc = "mailto:" + to +
"?cc=" + cc +
"&bcc=" + bcc +
"&subject=" + escape(subject) +
"&body=" + escape(body); // POP UP EMAIL MESSAGE WINDOW
window.location = doc;
}
</script>
<input onclick="popupMessage()">
test
testtest
">发邮件</a>