hocam kısaca server'in toplu mail gndermene izin vermiyor. Serverin limit koymuş doğal olarak. Çünkü toplu mailler serveri çok yorar.

arkadaşlar phpbb forumun admin kontrol panelinden toplu mail atmaya çalışınca şu hatayı alıyorum : Ran into problems sending Mail. Response: 452 Too many recipients DEBUG MODELine : 165File : smtp. php nasıl düzelteceğim konusunda yardımcı olursanız sevinirim... smtp. php dosyası aşağıda: <?php/ smtp. php begin : Wed May 09 2001 copyright : 2001 The phpBB Group email : support@phpbb.com $Id: smtp. php, v 1.16.2.11 2005/09/27 20:24:35 grahamje Exp $ // This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. /define('SMTP_INCLUDED', 1);//// This function has been modified as provided// by SirSir to allow multiline responses when // using SMTP Extensions//function server_parse { $server_response = ''; while (substr($server_response, 3, 1) != ' ') { if (!($server_response = fgets($socket, 256))) } if (!(substr($server_response, 0, 3) $response)) }// Replacement or substitute for PHP's mail commandfunction smtpmail { global $board_config; // Fix any bare linefeeds in the message to make it RFC821 Compliant. $message = preg_replace("# \n#si", "\r\n", $message); if { if (is_array { if (sizeof > 1) else } $headers = chop ; // Make sure there are no bare linefeeds in the headers $headers = preg_replace('# \n#si', "\r\n", $headers); // Ok this is rather confusing all things considered, // but we have to grab bcc and cc headers and treat them differently // Something we really didn't take into consideration originally $header_array = explode ; @reset ; $headers = ''; while(list = each { if (preg_match else if (preg_match $headers.= ? $header. "\r\n" : ''; } $headers = chop ; $cc = explode ; $bcc = explode ; } if (trim '') if (trim '') // Ok we have error checked as much as we can to this point let's get on // it already. if( !$socket = @fsockopen($board_config , 25, $errno, $errstr, 20) ) // Wait for reply server_parse($socket, "220", LINE ); // Do we want to use AUTH?, send RFC2554 EHLO, else send RFC821 HELO // This improved as provided by SirSir to accomodate if( ! empty && ! empty ) else // From this point onward most server response codes should be 250 // Specify who the mail is from... fputs ; server_parse($socket, "250", LINE ); // Specify each user to send to and build to header. $to_header = ''; // Add an additional bit of error checking to the To field. $mail_to = (trim '') ? 'Undisclosed-recipients:;' : trim ; if (preg_match // Ok now do the CC and BCC fields... @reset ; while(list = each { // Add an additional bit of error checking to bcc header... $bcc_address = trim ; if (preg_match } @reset ; while(list = each { // Add an additional bit of error checking to cc header $cc_address = trim ; if (preg_match } // Ok now we tell the server we are ready to start sending data fputs ; // This is the last response code we look for until the end of the message. server_parse($socket, "354", LINE ); // Send the Subject Line... fputs ; // Now the To Header. fputs ; // Now any custom headers... fputs ; // Ok now we are ready for the message... fputs ; // Ok the all the ingredients are mixed in let's cook this puppy... fputs ; server_parse($socket, "250", LINE ); // Now tell the server we are done and close the socket... fputs ; fclose ; return TRUE;}?> Nerde Gençliğim:(