note 32763 rejected from function.mail by pollita

From: Date: Fri, 06 Jun 2003 04:07:38 +0000
Subject: note 32763 rejected from function.mail by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49840@lists.php.net to get a copy of this message
Note Submitter: ghoffman@ucsd.edu ---- If a quote mark finds its way into the message text, say, through a web form, it will cause a premature truncation of the message. I use a simple function to convert quote marks to tick marks, as follows: $message=str_replace("\"", "'", $message); Just include this after assembling the $message, but before invoking the mail() function.

« previous php.notes (#49840) next »