0

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.

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by bearcatFulton
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.