Opening multiple email clients via mailto?

1,011 views
Skip to first unread message

Alex Druga

unread,
Oct 26, 2015, 9:36:35 AM10/26/15
to Chromium-discuss
So I've been banging my head trying to figure this out.

I want to trigger the opening of multiple Outlook/whatever mail client from javascript. 

This small snippet works fine in IE and Firefox, but only opens 1 outlook window(the fiest one) in Chrome:

<html>

  <head>

    <script>

      var win = window.open('mailto:any...@example.com?subject=Foo&body=1', 'win');

      var win2 = window.open('mailto:anyb...@example.com?subject=Bar&body=2', 'win2');

    </script>

  </head>

  <body></body>

</html>


I've tried many combinations of timeouts and targets but nothing seems to work.

Is this some security feature of Google Chrome or a bug?

I'm looking for a workaround that doesn't involve showing the user a list of links that he should click manually.


PhistucK

unread,
Oct 26, 2015, 9:42:08 AM10/26/15
to alex....@gmail.com, Chromium-discuss
It could be a bug or a feature...
You can search crbug.com for an existing issue and star it. If you cannot find one, file a new issue using the "New issue" link on the same page.
Please, do not add a "+1" or "Me too" or "Confirmed" (or similar) comment. It just wastes the time of Chrome engineers and sends unnecessary e-mails to all of the people who starred the issue.

You can reply with a link to the found or created issue and might get triaged (and fixed) faster.

Thank you.



PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Alex Druga

unread,
Oct 26, 2015, 10:30:21 AM10/26/15
to Chromium-discuss, alex....@gmail.com
Found an existing issue:

Status Unconfirmed aparently.
Reply all
Reply to author
Forward
0 new messages