escape character
| From: | Marie Osypian | Date: | Wed, 09 Jun 2004 13:22:09 +0000 |
| Subject: | escape character | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34684@lists.php.net to get a copy of this message | ||
\"Fees and Expenses.\"
Quick question: I am sending email via a simple script: \"QUOTED TEXT.\"
is in the body of the message with escape characters. When the mail is
sent and arrives the \ (escape characters) are still in the email text,
any way to remove them an not break the script?
$headers = "From: $name <$email>\n";
$headers .= "Cc: $Name <$email>\n";
$headers .= "X-Sender: <$email>\n";
$headers .= "X-Mailer: $Name\n";
$headers .= "X-Priority: 1\n";
$headers .= "Return-Path: <$email>";
$recipient = "$user_first $user_last <$user_email>";
$subject = "$Subject";
$message = "Dear $First $Last,\n";
$message .= "\n";
$message .= "Example text here \"QUOTED TEXT.\" \n";
$message .= "\n";
$message .= "Example text here \"QUOTED TEXT.\"\n";
$message .= "\n";
$message .= "Example text here \"QUOTED TEXT.\"\n";
$message .= "\n";
$message .= "$Name\n";
$message .= "$Company\n";
$message .= "$Phone \n";
mail($recipient, $subject, $message, $headers);
Thanks,
MAO