我有这样的东西。
<a href='mailto:mike@example.com?subject=<?php print rawurlencode('This is the subject.');?>&body=<?php print rawurlencode('Line 1 of body. Line 2 of body.');?>'>Email</a>
我想在邮件正文中换行。我通过谷歌发现您可以将 %0D%0A 放入 mailto 以进行换行,但问题是 rawurlencode 只会对其进行编码。我可以在 rawurlencode 中添加什么以使换行符显示在消息中。