Good day! There is a need to create a letter using mailto. Using js, I create the following:

window.location.href = 'mailto:p1@mail.ru;p2@mail.ru;здесь много адресов;p300@mail.ru'; 

If there are not many recipients (0-80), everything works (Open Out opens). If there are a lot of recipients (for example, 300) browsers do not react at all (except firefox, it cuts off the number of recipients).

With what it can be connected? How can I fix it?

  • can somehow limit the number of addresses? - user193361
  • Wow, free addresses for spam lists! Where can I see this wonderful page? - Sergey Gornostaev
  • This application is inside the company, each employee can find another (by some criteria, such as offices) and add to the list. After from the list create a letter. - user217570

1 answer 1

Most likely the reason is to exceed the maximum length of the url - https://github.com/dreikanter/paradigm.ru/blob/master/posts/2007-12-19_url-max-length.md

  • then it is not clear why in Chrome a line of length 7 thousand characters does not work. - user217570
  • or is the restriction of IE superimposed somehow in Outluk? - user217570
  • Of course not, IE restriction - works only in IE. Maybe the problem is in Outlook itself. support.office.com/ru-ru/article/ ... They write here that the maximum number of recipients is limited. - Petr Chalov