473,467 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How does mailto really work?

Example:
<a href="mailto:so******@somewhere.com>Send Mail</a>

I've been trying to find documentation via W3 and the RFCs but I have
yet to find documentation that explains how a click event on an anchor
tag can launch a client-side e-mail program and populate its To: field
with an e-mail address.

I've found RFCs that briefly describe mailto but they fail to describe
the actual mechanism that enables the functionality.

Comments? Documentation?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

Nov 16 '05 #1
6 2575
clintonG,

You aren't going to find any. This is an implementation detail that is
left to the actual client viewing the HTML. It just has to be able to
understand the protocol that is used in the URL, and then perform an action
based on that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message
news:eO*************@TK2MSFTNGP11.phx.gbl...
Example:
<a href="mailto:so******@somewhere.com>Send Mail</a>

I've been trying to find documentation via W3 and the RFCs but I have
yet to find documentation that explains how a click event on an anchor
tag can launch a client-side e-mail program and populate its To: field
with an e-mail address.

I've found RFCs that briefly describe mailto but they fail to describe
the actual mechanism that enables the functionality.

Comments? Documentation?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

Nov 16 '05 #2
The text inside a HREF is a URI. A URI begins with a "scheme" which
could be an URL protocol, in which "mailto" is one.

Regardless, the URI is passed onto the OS for processing as it sees fit.

In this case, your email client has told your OS, "When you see a
mailto, let me handle it"

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message
news:eO*************@TK2MSFTNGP11.phx.gbl...
Example:
<a href="mailto:so******@somewhere.com>Send Mail</a>

I've been trying to find documentation via W3 and the RFCs but I have
yet to find documentation that explains how a click event on an anchor
tag can launch a client-side e-mail program and populate its To: field
with an e-mail address.

I've found RFCs that briefly describe mailto but they fail to describe
the actual mechanism that enables the functionality.

Nov 16 '05 #3
Thanks for the rehash of the W3 and RFC documents ;-)

<%= Clinton Gallagher

"James Curran" <Ja*********@mvps.org> wrote in message
news:Of*************@tk2msftngp13.phx.gbl...
The text inside a HREF is a URI. A URI begins with a "scheme" which could be an URL protocol, in which "mailto" is one.

Regardless, the URI is passed onto the OS for processing as it sees fit.
In this case, your email client has told your OS, "When you see a
mailto, let me handle it"

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message news:eO*************@TK2MSFTNGP11.phx.gbl...
Example:
<a href="mailto:so******@somewhere.com>Send Mail</a>

I've been trying to find documentation via W3 and the RFCs but I have yet to find documentation that explains how a click event on an anchor tag can launch a client-side e-mail program and populate its To: field with an e-mail address.

I've found RFCs that briefly describe mailto but they fail to describe the actual mechanism that enables the functionality.


Nov 16 '05 #4

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Thanks for the rehash of the W3 and RFC documents ;-)
If you want IE specifics, read
http://msdn.microsoft.com/library/de...w/overview.asp <%= Clinton Gallagher

"James Curran" <Ja*********@mvps.org> wrote in message
news:Of*************@tk2msftngp13.phx.gbl...
The text inside a HREF is a URI. A URI begins with a "scheme"

which
could be an URL protocol, in which "mailto" is one.

Regardless, the URI is passed onto the OS for processing as it

sees fit.

In this case, your email client has told your OS, "When you see a
mailto, let me handle it"

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in

message
news:eO*************@TK2MSFTNGP11.phx.gbl...
> Example:
> <a href="mailto:so******@somewhere.com>Send Mail</a>
>
> I've been trying to find documentation via W3 and the RFCs but I have > yet to find documentation that explains how a click event on an anchor > tag can launch a client-side e-mail program and populate its To: field > with an e-mail address.
>
> I've found RFCs that briefly describe mailto but they fail to describe > the actual mechanism that enables the functionality.



Nov 16 '05 #5
Thanks for commenting Nick. Maybe more to be said later...

<%= Clinton Gallagher


"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:ea**************@TK2MSFTNGP10.phx.gbl...
clintonG,

You aren't going to find any. This is an implementation detail that is left to the actual client viewing the HTML. It just has to be able to
understand the protocol that is used in the URL, and then perform an action based on that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message news:eO*************@TK2MSFTNGP11.phx.gbl...
Example:
<a href="mailto:so******@somewhere.com>Send Mail</a>

I've been trying to find documentation via W3 and the RFCs but I have yet to find documentation that explains how a click event on an anchor tag can launch a client-side e-mail program and populate its To: field with an e-mail address.

I've found RFCs that briefly describe mailto but they fail to describe the actual mechanism that enables the functionality.

Comments? Documentation?

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


Nov 16 '05 #6
Thank you for the reference to the article Daniel. It was most helpful
to identify the correct terminology, i.e. "pluggable protocol" that I
can
now also Google.

About Asynchronous Pluggable Protocols
http://msdn.microsoft.com/library/de...w/overview.asp

<excerpt>
About Pluggable Protocols
Internet Explorer uses two mechanisms for registering new URL protocol
handlers. The first method is to register a URL protocol and its
associated
application so that all attempts to navigate to a URL using that
protocol
launch the application (for example, registering applications to handle
mailto: or news: URLs). The second method uses the Asynchronous
Pluggable Protocols API, which allows you to define new protocols by
mapping the protocol scheme to a class.
</excerpt>
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:#N**************@TK2MSFTNGP12.phx.gbl...

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl...
Thanks for the rehash of the W3 and RFC documents ;-)

If you want IE specifics, read

http://msdn.microsoft.com/library/de...w/overview.asp
<%= Clinton Gallagher

"James Curran" <Ja*********@mvps.org> wrote in message
news:Of*************@tk2msftngp13.phx.gbl...
The text inside a HREF is a URI. A URI begins with a "scheme"

which
could be an URL protocol, in which "mailto" is one.

Regardless, the URI is passed onto the OS for processing as it

sees fit.

In this case, your email client has told your OS, "When you see a mailto, let me handle it"

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)

"clintonG" <csgallagher@RE************@metromilwaukee.com> wrote in

message
news:eO*************@TK2MSFTNGP11.phx.gbl...
> Example:
> <a href="mailto:so******@somewhere.com>Send Mail</a>
>
> I've been trying to find documentation via W3 and the RFCs but I

have
> yet to find documentation that explains how a click event on an

anchor
> tag can launch a client-side e-mail program and populate its To:

field
> with an e-mail address.
>
> I've found RFCs that briefly describe mailto but they fail to

describe
> the actual mechanism that enables the functionality.



Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bill Petrol | last post by:
I'm trying to send a link with a querystring as the body of an email message. My HTML syntax looks something like this: <a href="mailto:xxx@yyy.com?Subject=<? print $subject ?>&Body=<? print...
15
by: nAmYzArC | last post by:
Hi everyone, I'm setting the body of an email using values from a form firstname = bob lastname = dole ebody = 'First Name: ' + firstname + '\r\n' + 'Last Name: ' + lastname ...
2
by: McGoo | last post by:
Hello group, I would appreciate some help with this. My webpage is in a frame, and holds a lot of images. Some of these images have links and use Javascript to carry out a mailto operation. When...
1
by: Sam | last post by:
Does anybody know the proper format to pass content-type in a mailto: Link? Here is what I have. I doesn't work if I escape() the whole body either. Thanks! var z = new String("mailto:");...
18
by: Shinin | last post by:
I am trying to set up a mailto: link so that the actual address that the email is being sent to is obscured and replaced by a name. For example, I have <a href="mailto:jschmoe@abc.com">Joe...
13
by: John Baker | last post by:
HI; Quick question: How do I specify an email subject when using the setup <a href="mailto:dogs@cats.com">Mail to the cat</a> Can someone show me how it would look if the subject was "mice"?...
2
by: Steven T. Hatton | last post by:
I'm still not completely sure what's going on with C++ I/O regarding the extractors and inserters. The following document seems a bit inconsistent:...
15
by: tshad | last post by:
I am trying to put an persons email address in a response I am sending another person. I can get it to work by doing the following: message.Body = resumeTop & vbCrLf & vbCrLf & "For Applicant:...
17
by: One Handed Man \( OHM - Terry Burns \) | last post by:
Assumes a Form with a Panel on it., Does the Mutex have to be within the address of a thread start address ? Cheers - OHM '----------- *************** ---------------- Private...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.