我希望在我的mailto正文中插入一个换行符。
我尝试使用%0A、%0D和%0D%0A,但都无法生效。
我在Mac OSX上使用Google Chrome测试了Gmail、Yahoo、Apple Mail、Outlook 2010、Outlook.com和Thunderbird。
请问有什么帮助吗?
以下是我的代码:
<a href="mailto:email@mycompany.com?subject=Subscribe&body=Lastame%20%3A%0D%0A%20Firstname%20%3A"><img alt="Subscribe" class="center" height="50" src="subscribe.png" style="width: 137px; height: 50px; color: #4da6f7; font-size: 20px; display: block;" width="137"></a>
%20
作为换行符使用。我唯一看到的实质性区别是这个问题问的是正文,而那个问题问的是主题。但无论哪种情况,答案都是相同的。 - user47589