Is it possible to embed html in a message body generated by a mailto link? And/or embed pictures or JavaScript as well? If yes,开发者_如何转开发 can you provide an example (it doesn't need to be encoded)?
Also, which other things can I do and which important things can't I do?
Yes, you can!
mailto:info@rok-kralj.net?cc=someone@at.com&bcc=ccc&subject=test&body=%3Cb%3Etest%3C%2Fb%3E
You can post a lot in the body, you just have to escape tags with html entities, like > < "
. And I believe there is a URL length limit.
Oh, and don't forget to urlencode at the end!
精彩评论