Long mailto with window.location in JavaScript in IE 9 opening blank webpage and not opening the default mail client Outlook

Here is an example of the JavaScript code that is causing the problem in our Java J2EE Web application.  We are using Java 1.7 and Struts 1.8.  It seems to happen when the mailto string is long like below.  It happens for this particular user when they use Internet Explorer 9.  When they use Internet Explorer 9 - no add-ons browser though it works fine.  

Again the problem is that IE 9 with this JavaScript method opens a blank tab in the browser and does not open the Outlook mail client.  

function submitContinue() {
            var form = document.forms['requestFilerAmendForm'];
            window.location = "mailto:ASD108.secaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@us.army.mil?subject=FDM Report Amendment Requested&cc=ASD100.secaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@us.army.mil;ASD145.secaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@us.army.mil;ASD189.secaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@us.army.mil;ASDrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrryyyt156.sec@us.army.mil;adam.b.baumaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@us.army.mil&body=An initial review of your 2012 Annual OGE 450 Report indicates incorrect/insufficient information in the following section(s): [SPECIFY REQUIRED CORRECTIVE ACTION BY THE FILER.]%0A%0APlease amend and resubmit your report by [SPECIFY AMENDMENT DUE DATE].%0A%0AThank you.";

            form.submit();
      }


Please help.  Thanks!
gdkinney_2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
I don't mean to be too off topic but you should remove mailto if you can.  It's relatively simple to get going.  This article describes how you can go about it: http://www.experts-exchange.com/articles/12871/Avoiding-mailto-and-how-to-capture-a-web-enquiry.html

This will remove any issue you're having in regard to mailto.  There are a heap of other issues you face when you use the mailto, most of which is you're not guaranteed to actually get the email.  certainly worth a look.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave BaldwinFixer of ProblemsCommented:
I agree with Rob.  Also, there is a note in the comments on this page about IE failing if the data that is passed is too long.  https://msdn.microsoft.com/en-us/library/aa767737%28v=vs.85%29.aspx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.