Is there an absolute limit to how much data you can put in mailto: body parameter?
Asked Answered
O

2

7

Given I'm creating a mailto: hyperlink. Is there a absolute limit to how much data you can put in mailto: body parameter?

Is this browser dependent?

Oza answered 23/8, 2012 at 12:50 Comment(0)
S
3

I believe these is a limit to the mailto URI. And I believe that limit is dependent on the browser.

Check out this question and answers: Getting around mailto / href / url character limit

Like they suggest in that answer, I would suggest doing some sort of server side processing of the data, most likely in a POST over a GET.

Also from that question, this link (http://support.microsoft.com/kb/q208427) was presented and tells that IE has a limit of 2083 characters in a URL.

Strategy answered 27/8, 2012 at 15:45 Comment(0)
W
1

I think there's a max of 8000 chars in a URI defined in some spec somewhere

More than you'll ever need :)

Writ answered 23/8, 2012 at 12:52 Comment(2)
Not more than I ever need, I'd like to be able to put somewhere around 32-96K in it.Oza
Sounds like should probably POST that kind of dataWrit

© 2022 - 2024 — McMap. All rights reserved.