I have an object literal
var object = {
test: "test";
}
I call JSON.stringify on this object and append it to a query string
http://example.com?parameter={"test":"test"}
But when I append this query string into the mailto body, only this part
http://example.com?parameter=
got wrapped as an hyperlink while the rest is showed as plain text.
what I did was this:
window.location = "mailto:someone@example.com?subject=subject&body=http://example.com?parameter={"test":"test"}";
And when the email client view showed, only the part before '=' got wrapped as hyperlink.