开发者

mailto potential - what can i do with it?

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜