using mailto: body limit
- From: Andrew Poulos <ap_prog@xxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 18:10:35 +1100
I'm using the following code to fill an email for the user to send:
var t = escape(t); // to
var s = escape(s); // subject
var b = escape(b); // body
var doc = "mailto:" + t + "?subject=" + s +"&body=" + b;
window.location = doc;
If works fine until the length of 'b' gets over about 255 character, then I get an "invalid syntax" error at the last line. Is there a limit on the size of the body text for an email in this case?
Andrew Poulos
.
- Follow-Ups:
- Re: using mailto: body limit
- From: Bart Van der Donck
- Re: using mailto: body limit
- Prev by Date: Re: Display text when mouse over an object
- Next by Date: Re: Create an 'account password' input field
- Previous by thread: Window.Open get new tab instead of new window in FireFox
- Next by thread: Re: using mailto: body limit
- Index(es):