Hi all.
I have created a javascript mail link on the fly and then it opens the mail link. We use outlook. What I would like is when the mail link is opened and the email is populated in the mail client, is to see the 'select names' box be opened.
example, instead of clicking on the 'to' button, it automatically opens.
Any ideas?
CODE :
<script language="JavaScript">
function popupMessage() {
// SET MESSAGE VALUES
var to = "aa@aa.com";
var subject = "My subject";
var body = "<%= strEmailBody %>";
// BUILD MAIL MESSAGE COMPONENTS
var doc = "mailto:" + to +
"&subject=" + escape(subject) +
"&body=" + escape(body);
// POP UP EMAIL MESSAGE WINDOW
window.location = doc;
window.close();
}
</script>
Regards,
kloner
I have created a javascript mail link on the fly and then it opens the mail link. We use outlook. What I would like is when the mail link is opened and the email is populated in the mail client, is to see the 'select names' box be opened.
example, instead of clicking on the 'to' button, it automatically opens.
Any ideas?
CODE :
<script language="JavaScript">
function popupMessage() {
// SET MESSAGE VALUES
var to = "aa@aa.com";
var subject = "My subject";
var body = "<%= strEmailBody %>";
// BUILD MAIL MESSAGE COMPONENTS
var doc = "mailto:" + to +
"&subject=" + escape(subject) +
"&body=" + escape(body);
// POP UP EMAIL MESSAGE WINDOW
window.location = doc;
window.close();
}
</script>
Regards,
kloner