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.