MAILTO max-length of each internet browsers?

后端 未结 5 510
失恋的感觉
失恋的感觉 2020-12-11 17:16

Update: Two years before this question, a similar question was asked: Effective maximum mailto: body lengths as pointed out by Peter O. Luckily answers

5条回答
  •  孤城傲影
    2020-12-11 17:50

    If I am using JavaScript function to build the mailto URL (with dynamic title and body) then calls window.open(url) to launch the default EMail client, the max length of this URL seems to be much shorter. EMail client won't be activated if the URL is too long.

    Here is the max length that works for browsers running on Windows only.

    • 2042 characters on Chrome 64.0.3282.186
    • 2046 characters on Edge 16.16299
    • approximately 32700 characters on Firefox 58.0

提交回复
热议问题