I am looking to create a message with several lines, but when I put my string into the mailto statement I can't find a newline character that works.

$MESSAGE_BODY .= "Message: " . nl2br($_POST["message"]) . "\n";
			print_r($MESSAGE_BODY);
			echo "<a href=\"mailto:bearcatFulton@gmail.com?
			subject=Angus and Alfalfa Contact&
			body=$MESSAGE_BODY\">Send this message</a>

I've tried \n\r, <br>, and
, but none of these look right in the email.

Thanks for the help.

Used ascii newline character

%0A

I'm not sure if you'll need a %OD or not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.