Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading outlook to email a form

Status
Not open for further replies.

sunisree

Programmer
Jul 22, 2003
4
US
HI
I have window where i have the button by name email when i click on that button it should load the default mail client outlook express and should allow to email that page(window) to the email adress specified in the out look express. This should be done through an asp page.

Thanks in advance,


 
Here is a script that when clicked on will open up Outlook so you can email

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>


<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf(&quot;PPC&quot;) != -1) return true;
else return false;
}
if(isPPC()) {
document.write('<b>Send <A CLASS=&quot;contact&quot; HREF=\&quot;mailto:\?subject\=Take a look at this page, ' + document.title + '?body=You can see this page at: ' + window.location + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>this page<\/A> to a friend</b>');
}
else { document.write('<b>Send <A CLASS=&quot;contact&quot; HREF=\&quot;mailto:\?body\=Take a look at this page , ' + document.title + '. You can see this page at: ' + window.location + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>this page<\/A> to a friend</b>');
}
// End -->
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top