note 26839 added to ref.mail

From: Date: Thu, 14 Nov 2002 17:20:22 +0000
Subject: note 26839 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-39492@lists.php.net to get a copy of this message
Very strange behavior detected. Don't know if it's got to be with PHP, with SENDMAIL, with INI files or what, but it's true. Hope you can try in you own systems and find out where's the problem: (In an on-line lottery system) trying to send (confirmation) messages like these: mail("user@domain.com", "Confirmacion compra boleto num. 034", $message, $headers) ...they all arrive OK, but when subject was *slightly* different, like this: mail("user@domain.com", "Confirmacion compra boleto num. 178", $message, $headers) ...the never arrived! I detected the difference was when the character after the blank space after the dot, was a '0', it was sent OK, but when that character was 1,2,3... or any other number (not tried with letters), the were not sent at all! At last I tried this: mail("user@domain.com", "Confirmacion compra boleto num. -178-", $message, $headers) ...and it worked allright! Any idea of the reason for this strange behavior? (I drove myself mad for hours until I detected why some of my messages were sent and others not.) -- http://www.php.net/manual/en/ref.mail.php http://master.php.net/manage/user-notes.php?action=edit+26839 http://master.php.net/manage/user-notes.php?action=delete+26839 http://master.php.net/manage/user-notes.php?action=reject+26839

« previous php.notes (#39492) next »