note 26839 deleted from ref.mail by stone

From: Date: Sat, 28 Jun 2003 22:06:32 +0000
Subject: note 26839 deleted from ref.mail by stone
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51151@lists.php.net to get a copy of this message
Note Submitter: casdeiro@degalicia.org ---- 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.)

« previous php.notes (#51151) next »