From: julien at touslesdrivers dot com Operating system: Windows 2000 Server SP4 PHP version: 4.3.4 PHP Bug Type: *Mail Related Bug description: Random problem in mail() function
Description: ------------ Hello, I have a problem with the mail() function. The OS is Windows 2000 Server SP4 + IIS 5.0 + MySQL + PHP 4.3.4 (ISAPI). On my website, there is a form to subscribe to the site as a member. To confirm the subscription, I send a mail to the person who has to click on a link to confirm the subscription. I use so the mail() function to send the mail as text format but there is a random problem. Sometimes (about 2-3 times per week) persons who receive the mail can't confirm their subscription and forward the mail to me and I can then constat the problem: A little part of the body (the string "script") had been replaced by another string ("VOID"). This problem is not dependant with the Mail client (Outlook, Netscape etc.). PHP 4.3.4 doesn't resolves this problem. I am not arrived to reproduce this problem and it it seems to be totally random. It is a very strange bug!! An idea? Reproduce code: --------------- The code source is: $message = " Bonjour, Pour valider définitivement votre inscription comme membre, merci de clicker sur le lien ci-dessous: http://www.domain.com/inscription.php?code=$code "; mail($email,"Inscription",$message,"From: [EMAIL PROTECTED]: text/plain; charset=iso-8859-1"); Expected result: ---------------- Normally the person would see: Bonjour, Pour valider définitivement votre inscription comme membre, merci de clicker sur le lien ci-dessous: http://www.domain.com/inscription.php?code=1587 Actual result: -------------- But some persons obtain: Bonjour, Pour valider définitivement votre inscription comme membre, merci de clicker sur le lien ci-dessous: http://www.domain.com/inVOIDion.php?code=1587 -- Edit bug report at http://bugs.php.net/?id=26289&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26289&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26289&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26289&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26289&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26289&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26289&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26289&r=support Expected behavior: http://bugs.php.net/fix.php?id=26289&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26289&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26289&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26289&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26289&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26289&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26289&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26289&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26289&r=float