Insert a line break in mailto body

后端 未结 6 1519
甜味超标
甜味超标 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:27

    
    

    Try adding %0D to break the line. This will definitely work.

    Above code will display the following:

    Hi,
    Name:[your name] 
    Good day
    

提交回复
热议问题