Insert a line break in mailto body

后端 未结 6 1506
甜味超标
甜味超标 2020-11-29 00:21

I would like to insert a line break into my mailto body. I tried %0A, %0D and %0D%0A. Nothing worked for me. I tested on Gmail, Yahoo, Apple Mail, Outlook 2010, Outlook.com

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 00:26

    As per RFC2368 which defines mailto:, further reinforced by an example in RFC1738, it is explicitly stated that the only valid way to generate a line break is with %0D%0A.

    This also applies to all url schemes such as gopher, smtp, sdp, imap, ldap, etc..

提交回复
热议问题