note 27706 rejected from function.mail by nicos

From: Date: Mon, 16 Dec 2002 20:37:11 +0000
Subject: note 27706 rejected from function.mail by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40982@lists.php.net to get a copy of this message
I just spent an hour trying to figure out what was wrong with my autoresponder script, emaila are sent fine, headers ok, subject ok but the body of the message is empty!!! It seems to me that in PHP 4.2.3, if the last line of the body is not a "\r\n", the body is lost!! Is that right? Well, at least that how I got my autoresponder to work, my script uses Pear's latest Mail.php, which in turn uses mail().

« previous php.notes (#40982) next »