note 37005 deleted from ref.mail by kennyt

From: Date: Sun, 18 Jul 2004 17:38:39 +0000
Subject: note 37005 deleted from ref.mail by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73530@lists.php.net to get a copy of this message
Note Submitter: Patrice Levesque ---- Please be aware that the SendMail() function below (provided by kieran dot huggins at rogers dot com) may send all mail twice when using qmail. The mail() function in PHP (at least 4.2.3) has a "To:" parameter and a extraheader parameter. If you specify a "To:" manually using the extraheaders, it *doesn't* override the first "To:" parameter. Qmail must then receive two "To:" and send twice. Just comment-out the line that adds the "To:" to the extraheaders to make the below script work.

« previous php.notes (#73530) next »