ID: 10136 Comment by: nude-woman239 at hotmail dot com Reported By: arnaud at cenet dot fr Status: Closed Bug Type: Mail related Operating System: Win32 (2K and 9x) - IIS 5 & Apac PHP Version: 4.0.4pl1 New Comment:
<a href=http://3-dwetsweengers-job.da.ru>nude woman</a> Previous Comments: ------------------------------------------------------------------------ [2002-06-02 11:13:20] [EMAIL PROTECTED] This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2001-06-22 18:42:03] [EMAIL PROTECTED] windows mail code *badly* needs a rewrite ------------------------------------------------------------------------ [2001-04-05 06:27:22] arnaud at cenet dot fr OK, I found the problem, folks !! If you want to send messages in Cc: and Bcc: and personnalize to name of the To: recipients, I found a topic in newsgroup, you have to : put all adresses (including To:, Cc: and Bcc: adress) in the $to field of mail function and then in the header, you put in to: bcc: and cc: the correct adresses... By this way, the mail function will properly put the adresses in the right fields, example : $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]" $from = "Test PHP <[EMAIL PROTECTED]>\n"; $headers = "To: Nono <[EMAIL PROTECTED]>\n"; $headers .= "cc: Admin CEnet <[EMAIL PROTECTED]>\n"; $headers .= "Bcc: Hidden test <[EMAIL PROTECTED]>"; mail ($to,"my subject","my (nice !) body","From: $from".$headers); It works... But now the real bug (yes it is !!) is when typing "Cc:" instead of "cc:" => It looks like there's a emalloc error allocating -875642131 bytes (the number is not ever the same)... Think I'll open a new bug entry !!! ------------------------------------------------------------------------ [2001-04-04 03:20:25] arnaud at cenet dot fr Seems to work but i need to put addresses between <> for mail from: and rcpt to: fields... ------------------------------------------------------------------------ [2001-04-03 17:25:29] [EMAIL PROTECTED] i'd suggest one thing - try this (it will give more light if the problem is in your mailserver): telnet localhost 25 helo there mail from: [EMAIL PROTECTED] rcpt to: [EMAIL PROTECTED] data from: "your name" <[EMAIL PROTECTED]> to: "name 1" <[EMAIL PROTECTED]>, "name 2" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] subject: some subject some nice body ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/10136 -- Edit this bug report at http://bugs.php.net/?id=10136&edit=1
