XHR and mailto links

Hello there,
I just ran into a bug with using XHR and mailto links. I have a simple app that fetches customer info from a web service, then reads some email templates and plugs the customer info into the email templates which are implemented as mailto links with subject and body parameters.
The bug is that XHR stops working after I click any mailto link. The XHR will go out but its readyState never changes. If I restart the app, everything works again. If I add an event handler to the mailto links that stops the event, then the XHR doesn't break (but the email client doesn't get called either).
The best solution I've come up with is to add a bogus target to my mailto links. That causes a new window to be displayed when the link is clicked so it's not ideal but it prevents my XHRs from going crazy.
Is this a known bug? Is there a place to file bugs so they can be tracked? I filed it somewhere but there was a disclaimer saying they won't get back to me and it didn't tell me where bugs are tracked.
I wanted to make a server call so the server could send the mail, but my client doesn't have a server that he can upload scripts to, it's an ecommerce website that he is not allowed to touch except from their web interface.
I thought about issuing a command line call, but found that Adobe Air has no easy way to send a simple command.
I also thought about finding a library that can send email; I found one in flash, which means I can use it from adobe air, but that would mean I'd have to write the UI for the email editor.
Does anybody have any suggestions? Please drop a line with anything you may find useful

Is anybody out there? No answers to this question yet. I just installed FF 6.0.2, and the bug is still there. What are the plans to fix it????

Similar Messages

  • Luakit and magnet links - "Unable to load page"

    Hi,
    I've got luakit with working magnet links handling, but there's one annoying issue. Everytime I open magnet link luakit opens transmission and goes to  "Unable to load page" page. Is there any chance to disable this behaviour? It also spawns new tab to execute transmission. It would be nice to make it "more in the background".
    webview.init_funcs.magnet_hook = function (view, w)
    view:add_signal("navigation-request", function (v, uri)
    if string.match(uri, "^magnet:") then
    local cmd = string.format("%s %q", "transmission-gtk", uri)
    luakit.spawn(cmd)
    return false
    end
    end)
    end
    Thanks in advance.

    Also try changing your code to the following and it'll open magnet links and mailto links using xdg-open. * Note I haven't really tested this, as I have been modifying the webview.lua file.
    webview.init_funcs.navigation_request_decision = function (view, w)
    view:add_signal("navigation-request", function (v, uri)
    if string.match(string.lower(uri), "^magnet:") then
    luakit.spawn(string.format("%s %q", "xdg-open", uri))
    return false
    elseif string.match(string.lower(uri), "^mailto:") then
    luakit.spawn(string.format("%s %q", "xdg-open", uri))
    return false
    end
    end)
    end
    Edit: Any queries about luakit should probably be directed to its main thread in Community Contributions. The project isn't particularly active but occasionally the devs check there.
    Last edited by zoqaeski (2014-06-03 17:00:44)

  • Firefox 4 will not open thunderbird for mailto and Send links

    I am using Windows 7 business.
    Since update FF4 will not open Thunderbird when a mailto link or send link is clicked. My system has Thunderbird selected as the default mail client and these links work in other browsers.
    Following some online help suggestions about selecting Firefox's default mail client:
    http://support.mozilla.com/en-US/kb/Changing%20the%20e-mail%20program%20used%20by%20Firefox?s=mailto&as=s
    There are no options for 'mailto' or 'mail' in the content type window.

    I've suffered with this for weeks and finally worked around it.
    Thunderbird was set as the default client, but it didn't work with some other clients as well, so I went to Default Programs / Set Default Programs, selected Thunderbird, which was already set as the default mail client, selected 'Choose defaults for this program' and hit Save. That fixed it for PDF Complete, but not for FF4.
    In FF4, I changed the mailto option to Always Ask (it had been Thunderbird(default)), then chose Thunderbird as the client after picking Send Link. that worked, so the next time I checked the box in the dialog to always use Thunderbird and now it works. grrr.

  • Need mailto: links in Word docs to open both *in Gmail* and *IN FIREFOX* how?

    I have several "how to" documents at work that I've created to help make remembering the details of certain tasks easier. For several of these, I've got a mailto: link to some contact person which also has a subject line pre-filled with our account number so that I (or whoever uses the document) doesn't have to copy/paste all that stuff. So the link is in a WORD DOC not in a web page.
    I keep two browsers open at work: Chrome, which is logged into my personal Gmail account, and Firefox, which is logged into my work email (which uses Gmail). It is critical that when I sent a work email (say, by clicking the mailto: link in the Word doc file) that it opens in FIREFOX so that it's coming from my work account.
    What currently happens is that I right click the link and click "Open Hyperlink" and it launches a CHROME window, loads Gmail, and prefills the to: and subject: fields. *sigh*
    I've set Firefox as my default browser through its settings. I also shut down Firefox entirely and followed the directions [http://kb.mozillazine.org/Setting_Your_Default_Browser#Force_Firefox_to_make_itself_the_default here] which say:
    ''If Firefox already thinks that it is default, exit Firefox completely, go to "Start Menu -> Run" and enter this into the text box:
    '''firefox.exe -silent -setDefaultBrowser'''''
    I've done both of those things, and it still opens the mailto: link in Chrome. Could someone please help me?

    Well now I'm a bit miffed. Gmail was already set as the default Firefox mail client. Firefox is set as the default browser. But when I followed the directions here: https://support.mozilla.org/en-US/kb/Changing%20the%20e-mail%20program%20used%20by%20Firefox#w_windows-7-and-vista for how to set the mailto: protocol default program in Windows 7 it only offered me 4 programs to choose from, and no way to add a new one or choose something different. Google Chrome was the only one that was a web browser, so it's the only one I could use for Gmail (unless someone knows a way to set up something else to send gmail email from?)... how LAME!

  • Mailto links open google (desired) but load in current tab, moving away from website, and cannot hit "back" button to return.

    I have firefox set to open "mailto" links, which is desired. However, when clicking the link, the gmail compose window opens in the current tab/window, and therefore leaves the website. Most of the time, the "back" button is not active, so I cannot get back to the website. The back button issue does not happen 100% for some reason.
    To further explain, this is a website I am creating, so I am not sure if the fault lies with my code or in the google mailto option in firefox. (Code shown below)
    >>>>>
    <a class="email" href="mailto:[email protected]">email: [email protected]</a>
    >>>>>
    I tried using a target in the mailto link, but they seem not to work with mailto links like they do for links to other webpages. (Code shown below)
    >>>>>
    <a class="email" href="mailto:[email protected]" target="_blank">email: [email protected]</a>
    ---or---
    <a class="email" href="mailto:[email protected]" target="_new">email: [email protected]</a>
    >>>>>
    Any pointers will help. Is my code bad? Or if the problem is with firefox's way of handling mailto links, is there a way to code to get around this?

    I don't wanna claim total credit for it. I remember seeing someone mentioned a Back button problem with McAfee Add-on in the forum. I dismissed it initially because it seems far-fetched...

  • Running Firefox 3.6.13 on Winows 7 and I cant change the mailto link to Outlook

    Hi all,
    I am running Windows 7, and have Firefox 3.6.13 I am trying to get Firefox to use Outlook 2010 for mailto links.
    When I go to tools/options/applicaitons/mailto Firefox does not have Outlook as an option to choose from in the drop down menu.
    For the life of me I can not find an outlook.exe to point it to.
    The path of the start menu shortcut is not help, it reads: "C:\Program Files\Common Files\microsoft shared\Virtualization Handler\CVH.EXE" "Microsoft Outlook 2010 9014006204090000"
    Pointing Firefox to the CVH.EXE does nothing.
    Any ideas?
    Thanks

    Scoob,
    Your are of course right, I am running 3.6.13 not 5.0 (when I checked it had Mozilla/5.0 on the "about" tab and I obviously mixed the two up.
    I understand how in Firefox to change the application associated with mailto my problem is even using the browse function I can not find an .exe for outlook to point Firefox to.
    Anyone know how to point 3.6.13 running on windows 7 to outlook 2010?

  • JEditorPane - Links and Mailtos...

    Hi everyone,
    For a while now, I have been trying to figure out how to get hyperlinks working in a JEditorPane. I realize I could make it uneditable and all that, but I need two things above and beyond:
    1) I need the link you clicked to open in your default web browser.
    2) I need "mailto" links to open a new e-mail in your default e-mail client.
    I have no idea where to find code for (1) and (2)... I have searched high and low and can't find anything useful, especially for (2).
    I would be grateful for any help.
    Thank you,
    Wojciech

    Hello Jesper:
    I do have mye links as a componet and it is easy to make any changes, but the links still add size to every page, which is what I don't want. I might have to redo my website using frames because I think this is the only way to have the links load once. (is this right?).
    I was hoping to not have to redo my entire site ... as it will be a lot of work and I was hoping there would beanother option.
    Thank you for your help.
    Brenda

  • Mailto and Send Link not working on Mac 10.4.6

    Send Link and Mail To are not working Mac OS 10.6.4. I have been unsuccessful trying Mail, Gmail, and re-installing Firefox.
    I have been using Add This to send the links in an email, but would very much like to use Send LInk.
    I'd appreciate any suggestions.
    == This happened ==
    Every time Firefox opened
    == Several months ago

    Yes I did. First I used Mail, then changed it to Gmail. When neither worked, I re-installed Firefox and got rid of as many apps as I could. I tried both again - but no luck.
    I have copied and pasted links into either of these mail programs or used Add On,which requires opening a new tab, finding and entering the email address, closing or switching back to the original tab, etc.
    Thanks for your suggestion.

  • When I click on a mailto: link, Thunderbird says it's already running but there is no Thunderbird process running.

    I opened Firefox on a freshly rebooted PC, went to click on a mailto: link in a webpage and get the error message that Thunderbird is already running. Thunderbird is not running, but will not open for sending email.
    The cause could have something to do with Firefox not opening Thunderbird correctly, or that Thunderbird is not getting the correct permissions to run properly when called by Firefox.
    When I start Thunderbird from it's icon, I get a Windows 7 prompt asking me if I want to allow this program to make changes on my computer. If Thunderbird is started by Firefox asking it to create a mail message, as is the case with a mailto: link, It never gets this permission requester.
    I have tried troubleshooting information regarding Thunderbird already running error messages, however, there are no .lock files associated with Thunderbird nor is it's ability to send/receive mail when run from it's own icon affected by this problem. I therefore think it's a problem with the way in which Firefox calls Thunderbird to create an email message.
    There is the additional problem that Thunderbird has to have administrative privileges to run, but doesn't automatically get them. This might require a separate bug report submission be generated to the Thunderbird developers to fix this problem, but is dependent on what they can do about that.

    The reason firefox is not able to launch thunderbirds is because it cannot start thunderbird as administrator unless firefox is running as administrator, try to start firefox as administrator user then click the link.
    It should work.
    To start a program as '''administrator on windows''', '''RIght Click''' on the iFF con and choose '''Run as Administrator''', then press yes when the user access control box pops.
    Then Let us know what happened

  • Firefox won't open mailto links in a new window like it used to...it just opens gmail in the current tab.

    I recently upgraded firefox and now whenever I click a mailto link it opens gmail in the current tab rather than in a new window. How can I get it to open email links in a new window.

    My MAILTO problem was finally fixed on the June 29, 2012 Firefox version 14 beta 10 release.

  • How do I get "mailto:" links to work with my web based email?

    I use the web based email from godaddy.com called workspace. I can't get the mailto: links to work with firefox. I did find a code that makes the correct compose window to open up but it doesn't input the email address.
    Also, a related problem with my email is that you can't copy an email address and then paste the email address into the email. Pasting is not allowed with firefox but works ok with Internet Explorer

    Welcome to the Apple Community.
    Try adjusting the dolby digital setting.

  • Since upgrading to FF5, "mailto" links no longer work - my "tools/options/applications/mailto" is set to gmail.

    Since upgrading to FF5, "mailto" links no longer work - my "tools/options/applications/mailto" is set to gmail.
    Previously, when I clicked onto an email link, my gmail would open up.
    Now, nothing happens.

    Please do the following.<br><br>
    #Open Microsoft Internet Explorer and then click '''Tools '''and go to '''Internet Options'''.<br><br>
    #Click the ''Programs ''tab and where you see "Email", choose your email client.<br><br>
    #Remove the checkmark from where it says "''Tell me if Internet Explorer is not the default browser''" in the same menu.<br><br>
    #Click Apply/OK and close Internet Explorer.<br><br>
    #Next, start Firefox and click the orange Firefox button, go to '''Options '''| '''Options '''| '''Advanced'''.<br><br>
    #In the '''General '''tab, '''System Defaults''' at the bottom, checkmark the option: "'''Always check to see if Firefox is the default browser on startup'''" and then click the "''Check Now''" button.<br><br>
    #Click OK, close Firefox and then restart it again.
    You should now have a mailto: option in the Applications panel.

  • Mailto: link no longer works

    After working tfor the years the code for adding a email link no longer works. What's going on? For example this piece of code worked fine for years <a href="mailto:[email protected]">Email</a>. Now when I try to use the link my email programs opens up fine but in the place where the email address goes it includes the the full mailto:[email protected] where the email address goes rather than just the email address.

    Mailto links are inherently unreliable for several reasons:
    The end user must have an mail client like Outlook installed on their device.  Most webmail users don't  need an email client anymore preferring to log-in to their accounts with a browser.   If your end user has no email client, nothing will happen when they click the mailto link.
    Spam.  Email links are a neon sign for robot email harvesters who will bombard your inbox with unwanted spam mail.
    People who use computers in public libraries, schools or community centers won't be able to use your mailto links.
    For best results, use an HTML contact form with a server-side script that processes form data and sends it to your email address.  Preferably a script that is secure and has built in spam prevention.
    Nancy O.

  • How to send an URL with arguments in a mailto: link ?

    Hello,
    I need to build simple mailto links to send urls in the body of the message.
    Unfortunately there are arguments in this url : like http://host/SearchServlet?toSearch=foo";
    When I click on the link the body is truncated before the ?
    even when I replace ? with %3F or &#63; !!!
    How can I pass this URL ?
    Regards
    PS : Below is sample javascript
    <html>
    <body>
    <script language="javascript">
    function mailpage()
    mail_str = "mailto:?";
    mail_str += "body= Link to http://host/SearchServlet?toSearch=foo";
    mail_str += "&subject=Search";
    location.href = mail_str;
    </script>
    <A HREF = "javascript:mailpage()">E-mail This Page</A> E-mail This Page
    </body>
    </html>

    Try to replace the ? and the =.
    Somewhat like:
    function mailpage() {
      mail_str = "mailto:?";
      mail_str += "body=Link to http://host/SearchServletQuestionMarktoSearchEqualsfoo";
      mail_str += "&subject=Search";
      location.href = mail_str;
    }Happy Coding! :-)

  • Acrobat Pro 9.0 automatically generates Mailto: link on @ sign

    We have calls to run SQL scripts in our docs, and the syntax for executing those scripts is @ScriptName.SQL.
    When generating the PDF from FrameMaker using Acrobat, it is embedding live Mailto: links in the script names because of the @ character.
    How do I tell Acrobat to igore the @ character when creating PDF files?
    Thanks,
    Jim

    I even unchecked the "Edit > Preferences >General > Create links from URLs" check-box and test-generated another PDF from Framemaker, and it is still creating links to URLs where they appear, as well as Mailto: links to email addresses, and picking up the script names "@ScriptName.SQL" as bogus Mailto: links. I need some way to override the behavior for JUST that instance where the @ sign is being used as part of a script name.

Maybe you are looking for

  • Macmini and LCD 37" Philips 9986. what appened?

    Hi, I bought my first mac and I was really happy to finally change from the Windows mediacenter. I own a Philips 37" 9986 LCD television with DVI and the macmini connected with DVI cable. For two weeks everything worked properly but suddenly powering

  • Substitution for change of document header

    Hi I have created a substitution for the change of document header for a company code. I have made it in GGB1 and activated it in the Tcode OBBH. However it does not allow me to post the document (Tcode FB01) - I get the syntex error in program 'GBTL

  • How to undo 'Mimic PC Monitor' in ColorSync

    Out of curiosity I clicked on 'Mimic PC Monitor' (which is found in 'Applications- AppleScript - ColorSync). This caused the display colours to loose their vividness and is generally not nice. the problem is, I can not find how to cancel this. Please

  • URGENT : Disable View Source in EP Pages/Iview

    Dear EP Specialists, Pls let me know how to disable view source code in EP pages/Iviews. We are at EP 6.0 SP12. Pls treat this urgent. Thanks a lot ! Josh.

  • HT4108 Using av adapter for first time..

    I have bought a av adapter for my iPad 2 but when I tried to connect it it keeps on coming up accessory not supported..can anyone tell me what to do.?