Mailto:

T

Tom

I am running Windows XP Home Edition.

I have my registered URL:MailTo Protocol entry set to open my email
client. Is there any method by which I can invoke Mailto: directly,
using HTML, without creating a clickable link via Href= in the anchor tag?
 
H

Hywel Jenkins

I am running Windows XP Home Edition.

I have my registered URL:MailTo Protocol entry set to open my email
client. Is there any method by which I can invoke Mailto: directly,
using HTML, without creating a clickable link via Href= in the anchor tag?

No. This may work (JavaScript):
<script type="text/javascript">
document.location.href="mailto:";
</script>
 
T

Tom

Hywel said:
No. This may work (JavaScript):
<script type="text/javascript">
document.location.href="mailto:";
</script>
Thank you. It worked. I am not familiar with JavaScript. Is there a
way, when I exit my email client, to return to the page I was on at the
time I invoked the script?
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top