I think I know what you are trying to do. I think this should do what you wanted and it's in HTML. No scripts here.
<A href="mailto:?subject=This is the link I wanted to send you&body=http://www.mysite.com!">Send Link by Email</A>
subject=This is the link I wanted to send you&body=http://www.mysite.com!
Change that to what you want. Or delete it entirely, if you want the subject line and body to have no text.... but
That code (in gray box above) will give you a link on webpage, and when you click on it, it will open up mail client. For my computer, I have set outlook express as default email client, so that is what opened up.
I don't know how you force IE to send link by email using the page function you wanted, but you can though, send your friend the link of the page you want him or her to see.