note 105679 added to function.mail

From: Date: Tue, 06 Sep 2011 21:44:03 +0000
Subject: note 105679 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-182994@lists.php.net to get a copy of this message
Before invoking the mail() function, it's useful to use the stripslashes() function to remove embedded backslashes in the message string that are used as escape characters for embedded apostrophes, quotation marks and such. For example, instead of using mail($to, $subject, $message, $headers); use mail($to, $subject, stripslashes($message), $headers); The result is a more readable message. ---- Server IP: 192.41.42.26 Probable Submitter: 173.75.83.37 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/105679 Del: integrated -- https://master.php.net/note/delete/105679/integrated Del: useless -- https://master.php.net/note/delete/105679/useless Del: bad code -- https://master.php.net/note/delete/105679/bad+code Del: spam -- https://master.php.net/note/delete/105679/spam Del: non-english -- https://master.php.net/note/delete/105679/non-english Del: in docs -- https://master.php.net/note/delete/105679/in+docs Del: other reasons-- https://master.php.net/note/delete/105679 Reject -- https://master.php.net/note/reject/105679 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182994) next »