How do I put a "link" on my asp.net web page that will cause the default mail app (Outlook, etc) to come up with my email address in the "To" block?
Printable View
How do I put a "link" on my asp.net web page that will cause the default mail app (Outlook, etc) to come up with my email address in the "To" block?
<a href="mailto:[email protected]">Click Here to Email [email protected]</a>
You can do some other things like set the subject and such from the link:
<a href="mailto:[email protected]?Subject=Question">Click Here to Email [email protected]</a>
:)
Thanks! This worked great editing the HTML. How would I accomplish the same thing with "drag/drop" in the Design mode?Quote:
Originally posted by Redth
<a href="mailto:[email protected]">Click Here to Email [email protected]</a>
You can do some other things like set the subject and such from the link:
<a href="mailto:[email protected]?Subject=Question">Click Here to Email [email protected]</a>
:)
try dragging a hyperlink onto the form..
now set the NavigateURL to "mailto:[email protected]"
it's the same as the href="" property in the html tag ...