When I receive the following email in my inbox, the word Dear is on the left. All other paragraphs are indented. Normally I put the whole message in double quotes and I don't have this problem, but I'm trying to keep my code more organized by using proper indentation. Unfortunately it's affecting the output of my emails. Can anyone point me in the right direction on this one?
$formFirstName = "Robert";
// Indenting this code for organizational purposes
$text = 'Dear ' . $formFirstName . ',
We need you to confirm your registration. This helps to prevent fraudulent spambot entries from entering our database. To finalize your account, and be eligible for posting your own testimonials, please click on the following link.
Here is a new paragraph with the users ' . $formFirstName . '.
$subject = "Confirm your registration $formFirstName";
$text = wordwrap($text,70);
$headers = "From: Oil-Testimonials.com <email@example.com>\\r\
$headers .= "Reply-To: firstname.lastname@example.org\\r\
$headers .= "Return-Path: email@example.com\\r\
mail("firstname.lastname@example.org", $subject, $text, $headers);
print ("Email has been sent.");