Notice! This document is currently in Archived status.
The content of this document may be incorrect or outdated.

Print this article Edit this article

HTML: Linking to an Email Address with "mailto"

The mailto: URL is used to send electronic mail. When a link that contains a mailto: URL is selected, the browser will prompt you for a subject and the body of the mail message and send that message to the appropriate address when you are done, or refer the message to an external email application.

The mailto: URL is different from the standard URL form. It looks like this:

href="mailto:user@server"

For example:

href="mailto:webmaster@ecn.purdue.edu"

Mailto: URLs work especially well in the signature part of each document, that part enclosed in the

tag. You can include your email address in text and then make it into a link which uses a mailto URL in its HREF attribute, like this:

ECN Webmaster webmaster@ecn.purdue.edu

Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: Mar 20, 2007 5:21 pm GMT-4 by admin
JumpURL: https://eng.purdue.edu/jump/c57f9