Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alert message for tag not available

Status
Not open for further replies.

kensington43

Technical User
Nov 29, 2005
50
US
Any way to write something to find out if local Mailto has been disabled?

Currently if the local OS has been disabled from sending mail for Outlook I get an error message from the OS saying "could not perform this command" after clicking on the mailto link.
I want to put my own message out there saying "This Mail tag has been disabled".

Please advise:

Code:
function checker(myCheck){
//not sure how to check if the mailto tag worked here
alert("This Mail tag has been disabled");
}


<a href="mailto:jones@here.com" onClick="return checker(this)">Link</a>
 
Thanks,

Any idea on how to check if the mailto tag program is working or connected for IE browser?
 
At a guess, you'd need to use some sort of Active component to check the registry entry for the mailto protocol to see if a handler / program has been set. This is located (AFAIK) under:

HKCR\mailto\shell\open\command\(Default)

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top