clickable e-mail on WebForm

  • Thread starter Thread starter John Grandy
  • Start date Start date
J

John Grandy

How to include an e-mail address link on an .aspx page that when clicked
invokes the computer's default e-mail client with the TO: address pre-filled
?

Prefererably, the link text is not necessarily the same as the e-mail
address.

Thanks.
 
How to include an e-mail address link on an .aspx page that when
clicked invokes the computer's default e-mail client with the TO:
address pre-filled ?

Prefererably, the link text is not necessarily the same as the e-mail
address.


Use the URL:

mailto:[email protected]
 
That is a basic HTML technique, not an ASPX technique.

Prefix the email address with mailto:

<a href="mailto:[email protected]"> The link text </a>




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top