Home > Back-end >  mailTo above 2000 characters not opening the mail
mailTo above 2000 characters not opening the mail

Time:06-30

I need to open outlook from chrome/edge above 2K character set( with special characters append by browser) but it is not opening the outlook.

CodePudding user response:

According to this page Edge has a limit of 2083 characters when handling URLs while Chrome has a 32779 limit. The question does not specifically tell, but I'm guessing you are using the mailto: protocol.

To circumvent this limit, you might have better luck using the Share API? https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share but it will not force the mail client...

CodePudding user response:

Can you please attach screenshot!

CodePudding user response:

Does it work if you launch the url from FireFox ? Or even a simple shortcut on your desktop...

Oh ! And just to make sure, is Outlook selected as your default mailto opener ?

I'll edit this answer according to my findings...

  •  Tags:  
  • html
  • Related