This is a code snippet showing how you may call the “mailto” to open your mail program.
View Demo: New Window
Calling mailto via Javascript:
private void SendEmail(string email, string subject, string body)
{
Uri uri = new Uri(String.Format("mailto:{0}?subject={1}&body={2}", email, subject, body));
System.Windows.Browser.HtmlPage.Window.Navigate(uri);
}
Website: http://www.shinedraw.com







thank. you. so. f.ing much
This technique opens an empty browser window before sending the mailto link to Outlook. Is there any way to disable the popup?
I dont know if this will help you but here id what I used to call up outlook express
function open_email(url) {
setTimeout(”parent.location = ‘yourpage.htm’”,10);
em=window.open(url);
em.close();
}
Then call the script using this
Information
Hope this helps it worked for me…..
The href didnt show up, so I’ll try again….add the at each end
a href=”#” onclick=”open_email(’mailto:info@stevenblainemusic.com’);”>
Information</a
I think i just had a light bulb appear over my head thanks to your blog. lol good job.