note 61413 added to function.mail

From: Date: Thu, 02 Feb 2006 20:55:35 +0000
Subject: note 61413 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-102893@lists.php.net to get a copy of this message
The problem with a "whitelist" of what is a valid email address is that a CORRECT implementation of a valid email address checker is a Regex about 3 pages (!) long. I think this is a case where a blacklist of the specific characters that allow header injection is better. I'm quite tired of having my email address rejected by stupid programs. Thank you. ---- Server IP: 219.239.98.8 Probable Submitter: 67.108.68.36 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61413 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61413&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61413&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102893) next »