note 14974 deleted from function.mail by jimw

From: Date: Wed, 31 Oct 2001 23:32:39 +0000
Subject: note 14974 deleted from function.mail by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19928@lists.php.net to get a copy of this message
System: Win2k, IIS5, PHP 4.0.6, Windows SMPT services <br>Problem: "CGI application misbehaved by not returning a complete set of HTTP headers". <br>Additional Complication: Cc: and Bcc: don't forward messages accordingly. <p>Background: When using mail(), adding standard headers such as "Cc: John Doe <jdoe@somewhere.net>\n" causes the system to complain that the cgi application misbehaved (somebody really should discipline that application ;-). <p>Astute debuggers will have noticed that changing "Cc:" to lowercase "cc:" alleviates that error message and actually inserts the appropriate header. However, messages still aren't forwarded as required. <p>Unfortunately, the only workaround I know of is to create a loop in which every recipient is a "To:" recipient. <p>Wish I could be of more help! <p>Ted Stresen-Reuter

« previous php.notes (#19928) next »