Mailto 2 Webmail

By Max (-ElectroFox Designs) Last update Dec 16, 2011 — Installed 18,404 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 53 posts, 40 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
gigajosh User

Thanks mr. Millard Wats, your edit got it working for me with the new Yahoo! mail interface. :)

 
Millard Wats... User

In the fixed section for yahoo mail I had to do the following changes to get the script to work for me.

var theElement = "http://" + yahooServer + ".mail.yahoo.com/dc/launch?action=Compose&To=";

this set of changes caused yahoo mail to open and then to open a compose page with the To address entered, and this was the graphical version not the original text based one.

 
dutch User

YEA!!! I got it working. I did what Atk said to do. His suggestion was the only one that worked. And it opens in Beta too. Thanks Max and Atk!

Now if only the "Send Link" would open in Yahoo. Anyone know of a script or addon for that fix?

 
Inhago User

I have found a solution to receive e-mails from my users, instead using mailto inside href tag, I found this website that let me create a form and send my user emails for me. NO needing of server side programming, they give me a link to put on my site.
the link is : www.nomailto.com

 
anonymous_user User

Works perfectly. Thanks.

 
nka User

Thanks, works like a charm with Gmail 2, FF3b5 & WinXP SP2.

 
jojopuppyfish User

Atk from April 16th did not work for me
The one below worked for me:

To get this working with Yahoo mail, I had to change the following (not sure if it's just me):

original:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/ym/Compose?To="; var begin; var subLength;

modified:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/mc/compose?to="; var begin; var subLength;

 
Atk User
Ah, I figured it out for the new Yahoo interface. Replace this line of code:
//var theElement = "http://" + yahooServer + ".mail.yahoo.com/ym/Compose?To="; var begin; var subLength;

with this line of code:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/dc/launch?action=compose&YY=212450813&login=1&intl=us&.intl=&To="; var begin; var subLength;

 
Atk User

Cool script, but how (or is it even possible) to link to Yahoo's new mail interface. Now, when I click on a mailto link, it fires up the old interface.

 
Fezzly User

This is the perfect script, wow bravo for you very nice.

 
Dave Baumgar... User

To get this working with Yahoo mail, I had to change the following (not sure if it's just me):

original:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/ym/Compose?To="; var begin; var subLength;

modified:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/mc/compose?to="; var begin; var subLength;

 
hawaiidiver User

I installed greasemonkey in order to use this script. Before I could edit the script using....greasemonkey wanted me to select an executable text editor. I accidentally set it to firefox. How do I change it to something else. I tried uninstalling greasemonkey but it went right back to firefox as the editor.

 
Gary Gilmore User

I downloaded 11324.user.js. When I tried to open it Vista said there was a problem with line 27: 'document' is undefined. So I can't get to the js to make it work for Yahoo Mail.

 
Kelly Holden User

Hmm. Appears to work as advertised, and with Ziru's suggestion takes me to all-new Y! mail (what used to be beta), which is how I prefer it, but a) it takes me to the US version for some odd reason (I have a yahoo.com.au address), and b) watching the status bar during loading strongly suggests that the request is rerouted a time or two, which I'm fairly sure makes it take longer than it needs to.

 
Renat User

How do you guys install this script? Firefox 2 simply promts save to hard drive dialog box and when I saved to the desktop and tested to a mail link it still opens outlook express instead of gmail. Can anyone help?
Thanks

 
Max (-El... Script's Author

wmblewett: Fixed a minor bug. Try re-installing, and visiting that site again.

ahoier: I'm guessing that autoIT script is running BEFORE greasemonkey scripts, otherwise, it'd put the altered mailto script in the address bar. If you can have that script run AFTER Mailto 2 Webmail, then it would probably work. Also, I visited that link you posted, and from the looks of the screenshot, you may be able to have that script go to gmail instead of outlook?

 
wmblewett Scriptwright

This is not working on every page for me... it works on the URL listed to test it on, but the mailto on http://www.court.state.nd.us/court/counties/dc_... is bringing up outlook still

 
CB Scriptwright

Thanks a lot for this. It works perfectly!

 
Frappe User

I really want this to work, I keep getting Thunderbird opening. It just says to install. Is there an about:config that I need to adjust? Thanks for your help.

 
ahoier User

the autoIT script inputs, "mailto:name@domain.com" into the browser address bar. But Outlook opens.

Is there a way (without modifying the autoIT script) - to "redirect" mailto: commands in the firefox address bar, to Google (or another optional webmail compose window)?

I guess it's just one of those things, you'd have to "see" it- to know what I'm asking ;)

the script/app can be downloaded from http://complainterator.com/

 
Ziru Scriptwright

I also found that this script failed to work with Yahoo Mail beta.

Fortunately, the fix is simple. Change Line 70 from:
var theElement = "http://" + yahooServer + ".mail.yahoo.com/ym/Compose?To=";
to:
var theElement = "http://compose.mail.yahoo.com/?To=";

Thanks to Max for the great work!

 
Max (-El... Script's Author

ahoier: I'm not sure what you're talking about. Maybe be a little bit more specific? Feel free to shoot me an email, describing what it is you're trying to do.

adam15c: There were some problems with the new Yahoo beta (and I think Hotmail, too). These use a lot of ajax and obfuscation, and I haven't had time to track down how to get to their new message composers.

jseppe: The script was designed primarily to open an email link the exact same way Outlook (or another pop3 client) would. Since Craigslist doesn't put the url or content of the ad in the mailto link, it does not put this information into the email composer (either pop3 or webmail). If you send me an email, I may modify the script for you, and maybe post it on userscripts under a different name.

 
ahoier User

Would it be possible to tie this into the address bar? I have an autoIT script I use, that uses mailto in the address bar, but Outlook 2007 opens with this script installed.

 
adam15c User

Keep getting the old Yahoo compose window. How do you get the new beta compose window to come up? Thanks.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel