473,580 Members | 2,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript Which Invokes the URL:MailTo Protocol

Tom
Anybody know how to modify this script to return to the HTML page from
which it was launched?

<script language="javas cript">
document.locati on.href="MailTo :";
</script>

Jul 20 '05 #1
6 36849
Tom wrote on 19 okt 2003 in comp.lang.javas cript:
Anybody know how to modify this script to return to the HTML page from
which it was launched?

<script language="javas cript">
document.locati on.href="MailTo :";
</script>


You just open a email client,
you do not leave the browser,
and do not collect 200 euros.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #2
Tom
Evertjan. wrote:
Tom wrote on 19 okt 2003 in comp.lang.javas cript:

Anybody know how to modify this script to return to the HTML page from
which it was launched?

<script language="javas cript">
document.loca tion.href="Mail To:";
</script>


You just open a email client,
you do not leave the browser,
and do not collect 200 euros.

Slight problem. The browser(Mozilla Firebird is stand-alone). The
email client(Mozilla Thunderbird) is stand-alone. In this case; how do
you open the email client without leaving the browser? Forget about the
euros!

Jul 20 '05 #3
Tom wrote on 20 okt 2003 in comp.lang.javas cript:
Evertjan. wrote:
You just open a email client,
you do not leave the browser,
and do not collect 200 euros.
Slight problem. The browser(Mozilla Firebird is stand-alone). The
email client(Mozilla Thunderbird) is stand-alone. In this case; how do
you open the email client without leaving the browser?


I cannot help you there.

If I click a <a href="mailto:aa @bb.cc"> in my stand-alone IE6 the page is
not changed and my stand-alone Pegasus Mail is invoked for the mailing.

So what do you understand under "leaving the browser?
That the focus is changed to the email client?
Or that the browser is closed?
Forget about the euros!


It is in reference to ancient Basic statement Goto:
"Don't goto Go"
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #4
"Evertjan." <ex************ **@interxnl.net > writes:
Forget about the euros!


It is in reference to ancient Basic statement Goto:
"Don't goto Go"


I can't see that reference. I rather think it is a reference to
the game Monopoly: "Go directly to jail. Do not pass go, do not
collection 200 <currency>".

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #5
Tom
Evertjan. wrote:
Tom wrote on 20 okt 2003 in comp.lang.javas cript:
Evertjan. wrote:
You just open a email client,
you do not leave the browser,
and do not collect 200 euros.

Slight problem. The browser(Mozilla Firebird is stand-alone). The
email client(Mozilla Thunderbird) is stand-alone. In this case; how do
you open the email client without leaving the browser?

I cannot help you there.

If I click a <a href="mailto:aa @bb.cc"> in my stand-alone IE6 the page is
not changed and my stand-alone Pegasus Mail is invoked for the mailing.

So what do you understand under "leaving the browser?
That the focus is changed to the email client?
Or that the browser is closed?

In my situation; I wish to invoke the email client so that I can get
mail, read mail, send mail, read newsgroups, etc. That's the purpose of
the javascript. By specifying mailto with no target, it causes the
application(in my situation; this is the email client), which is
specified under open under the registered file type url:mailto protocol,
to be invoked. This works fine until I exit the email client and return
to the browser. I return to a blank page instead of the page that the
HTML page, which contains the script, was invoked from.
Forget about the euros!

It is in reference to ancient Basic statement Goto:
"Don't goto Go"


Jul 20 '05 #6
Hello there, Tom,

Maybe you shuld use this:
window.open("ma ilto:")
I hope this solves your problem!

Salutations, Wieger

"Tom" <TC******@Sunli nk.net> schreef in bericht
news:q3******** *********@newsr ead1.news.atl.e arthlink.net...
Evertjan. wrote:
Tom wrote on 20 okt 2003 in comp.lang.javas cript:
Evertjan. wrote:

You just open a email client,
you do not leave the browser,
and do not collect 200 euros.
Slight problem. The browser(Mozilla Firebird is stand-alone). The
email client(Mozilla Thunderbird) is stand-alone. In this case; how do
you open the email client without leaving the browser?

I cannot help you there.

If I click a <a href="mailto:aa @bb.cc"> in my stand-alone IE6 the page is not changed and my stand-alone Pegasus Mail is invoked for the mailing.

So what do you understand under "leaving the browser?
That the focus is changed to the email client?
Or that the browser is closed?

In my situation; I wish to invoke the email client so that I can get
mail, read mail, send mail, read newsgroups, etc. That's the purpose of
the javascript. By specifying mailto with no target, it causes the
application(in my situation; this is the email client), which is
specified under open under the registered file type url:mailto protocol,
to be invoked. This works fine until I exit the email client and return
to the browser. I return to a blank page instead of the page that the
HTML page, which contains the script, was invoked from.
Forget about the euros!

It is in reference to ancient Basic statement Goto:
"Don't goto Go"

Jul 20 '05 #7

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

Similar topics

2
2826
by: john.burton | last post by:
Is there a way to make a handler in python presumably using the win32 extensions to handle URLS of a specific type when they are given to windows? For example if I want to handle myprotocol://server/id using my own python program? Any suggestions or references would be appreciated.
1
3217
by: Dom Leonard | last post by:
Hi all, I occasionally use the javascript protocol in window.open to retrieve a window property of the opener for use as HTML source: window.htmlSrc="<html>...blah ....<\/html>"; window.open("javascript:opener.htmlSrc", testWindow); The technique was absolutely needed in NS4.xx to overcome reentrancy problems with document.writing to...
2
12578
by: Joe W Larson | last post by:
I've been up and down trying to figure this one out with no luck. Is it possible to have a mailto link or some other way with Javascript that can send the HTML content of the current page or of an IFRAME in the page as an email? Here's what I have: ---------------- <HTML> <SCRIPT LANGUAGE="JavaScript"> <!--//
6
2581
by: clintonG | last post by:
Example: <a href="mailto:somebody@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...
4
3710
by: Goo | last post by:
Hi. Looking for some advice. I have a simple javascript that gathers email from a HTML form and then upon the submit button click, it opens a default mail window with "mailto" and inserts some text and form field data, etc, in the body of the email.
6
4670
by: kelvlam | last post by:
Hello, I'm a new begininer with JavaScript. I'm trying to figure out which is the best approach, and to understand the differences between them. I have a <Aelement that's suppose to either launch a popup window, or it will link you to some dynamic created page. I have declared a global JavaScript function
3
1849
by: moho | last post by:
Hi, I tried to do this: mailstr = "mailto:recipient@domain.com?subject=subjecextract&body=assg"; mailform = document.getElementById("mailform"); mailform.setAttribute('action',mailstr); mailform.submit(); However the mail only shows the recipient and not the rest of the values.
0
1829
by: OwfAdmin | last post by:
Sometimes there is a business need of integrating you windows application with your web application in a manner that you can directly invoke your windows application from the web application with custom parameters. e.g. in yahoo, you can directly open the message windows of a user from web site by clicking on "Send IM". Below article...
3
2396
by: mportman300 | last post by:
Have pity on me.. i have been doing html, css, javascript squarely over 2 years... and am now doing a family project.. in my project i have decided to use a context menu script, its a menu that pretty much allows for when you right click on a page it shows you different links that the standard right click menu, link here:...
0
7783
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8132
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8157
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5665
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5349
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3790
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3806
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1394
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.