matt matt - 1 year ago 87
HTML Question

HTML: insert line-break in email subject like %20 is a space?


I wonder if it is possible to write something like

(which stands for a space) for a line-break as well. So I want to have seperate lines in my body of the e-mail.

Any ideas?

Answer Source

You should use a carriage return %0D and line feed %0A

<a href=" subject&body=Text before new line.%0D%0AText after new line.">create email</a>

This is defined in RFC2368 and is the only valid method of generating a line-break.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download