" using the mail() command

From: Date: Sun, 03 Feb 2008 00:26:55 +0000
Subject: " using the mail() command
Groups: php.general 
Request: Send a blank email to php-general+get-268581@lists.php.net to get a copy of this message
When I use the mail($email, $subject, $message, $headers); command I assign the value of $message as follows: $boundary = md5(uniqid(time())); $message = " --$boundary Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit blah --$boundary Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <b>Blah</b><p> --$boundary-- "; I would like to be able to include a " in my message body --- both the HTML and text version --- how can I accomplish this? (I use a " to assign the value of $subject). I have been able to get \" to work --- but \" shows when reading the e-mail, not just the ". Thanks for your help Ron

« previous php.general (#268581) next »