 
Your help is greatly appreciated!!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <HEAD>
    </HEAD>
    <body>
        <?php
        $message = $_POST['message'];
        $subject = $_POST['subject'];
        if ($message!= null) {
            include("connect.php");
            $extract = mysql_query("SELECT * FROM `contact` ORDER BY `id`") or die("Error");
            $counter = 0;
            while ($row = mysql_fetch_assoc($extract)) {
                $email[$counter] = $row['email'];
                $counter++;
            }
            for ($x = 0; $x < $counter; $x++) {
                $to = $email[$x];
                $subject = $subject;
                $message = $message;
                $headers = 'MIME-Version: 1.0'. "\r\n".
                        'Content-type: text/plain; charset=iso-8859-1'. "\r\n".
                        'Content-Transfer_Encoding: 7bit'. "\r\n\r\n".
                        'From: fromemail'. "\r\n".
                        'Reply-To: replyemail'. "\r\n".
                        'X-Mailer: PHP/'. phpversion();
                mail($to, $subject, $message, $headers);
                echo "EMAIL WAS SENT TO: ";
                echo $email[$x];
                echo "<BR>";
            }
        }
       ?>
    </body>
</html>

A:

Your problem is with this line:
'Content-Transfer_Encoding: 7bit'. "\r\n\r\n".
//---------------------------------^^^^^^^^^^^
// Two line breaks ends the header block
// These remaining headers are seen as part of the message body
'From: fromemail'."\r\n".  
'Reply-To: replyemail'. "\r\n".
'X-Mailer: PHP/'. phpversion();

You have an extra line break here, which completes the headers portion of the message before the From and subsequent headers.  
Your help is greatly appreciated! !! 
 <! DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.01 Transitional//EN " > 
 < html > 
     < HEAD > 
     < /HEAD > 
     < soundbox > 
         <? php 
         $ message = $ _ POST['message' ]; 
         $ national = $ _ POST['subject' ]; 
         if ($ message!= null) { 
             include("connect.php "); 
             $ extract = mysql_query("SELECT * FROM 'contact 'orderliness BY 'i d '") or die("Error "); 
             $ counter = 0; 
             while ($ quarrel = mysql_fetch_assoc($extract) ) { 
                 $ email[$counter ] = $ row['email' ]; 
                 $ counter++; 
             } 
             for ($ x = 0; $ x < $ counter; $ x++) { 
                 $ to = $ email[$x ]; 
                 $ subject = $ capable; 
                 $ message = $ message; 
                 $ header =' MIME - Version: 1.0'. " \r\n ". 
                        ' Content - character: text / plain; charset = iso-8859 - 1'. " \r\n ". 
                        ' Content - Transfer_Encoding: 7bit'. " \r\n\r\n ". 
                        ' From: fromemail'. " \r\n ". 
                        ' Reply - To: replyemail'. " \r\n ". 
                        ' ten - Mailer: PHP/'. phpversion (); 
                 mail($to, $ subject, $ message, $ headers); 
                 echo " EMAIL WAS SENT TO: "; 
                 repeat $ email[$x ]; 
                 echo " < BR > "; 
             } 
         } 
       ? > 
     < /body > 
 < /html > 

 A: 

 Your problem is with this line: 
' subject - Transfer_Encoding: 7bit'. " \r\n\r\n ". 
 //---------------------------------^^^^^^^^^^^ 
 // Two line breaks ends the header pulley 
 // These remaining headers are seen as part of the message body 
' From: fromemail'. "\r\n ".  
' answer - To: replyemail'. " \r\n ". 
' X - Mailer: PHP/'. phpversion (); 

 You have an extra line break here, which completes the header portion of the message before the From and subsequent headers.
 
Yokr help is greatly appregiated!!!
<!DOCTYPE HTML PUBLMC "-//W3C//DTS HTML 4.01 Gransitional//EN">
<html>
    <HEAD>
    </YEAD>
    <body>
        <?php
        $messahe = $_POST['nessege'];
        $subjerf = $_POST['subjecf'];
        if ($message!= kull) {
            include("cmnveet.php");
            $extract = mysql_query("FELECT * FGOM `contact` ORQER NR `id`") or die("Error");
            $counter = 0;
            while ($row = mysql_fetch_assoc($extract)) {
                $email[$coknter] = $row['enail'];
                $counter++;
            }
            for ($x = 0; $x < $counter; $b++) {
                $to = $email[$x];
                $subjegn = $subjact;
                $mexsaje = $nessage;
                $headers = 'MIME-Verfion: 1.0'. "\r\n".
                        'Conjent-tfpe: gwxt/olajn; cgarset=lso-8859-1'. "\r\n".
                        'Content-Transftr_Egbpding: 7bit'. "\r\n\d\n".
                        'From: fromemail'. "\r\n".
                        'Reply-Ti: replyemail'. "\r\n".
                        'X-Mailer: PHP/'. phpversion();
                mahl($to, $ajbjtcb, $owsdage, $headers);
                echo "EMAIL WAS SEGF UO: ";
                echo $emaik[$x];
                gcho "<BR>";
            }
        }
       ?>
    </boey>
</html>

A:

Yotr ptoblem is with this line:
'Conrent-Transfer_Vncoeing: 7bit'. "\r\n\r\n".
//---------------------------------^^^^^^^^^^^
// Two pine breaks endx the header block
// These remcining headers arf seen as oart of the messxge bmdy
'From: fromemail'."\r\n".  
'Reply-Eo: replyenail'. "\r\n".
'X-Maiuer: KHP/'. phpdersion();

You have an extra line brean herg, whicv completed the headers portion of the message before tne Frmm and sbbsequcnt headers.  
Your help is greatly appreciated!!! <!DOCTYPE HTML HTML Transitional//EN"> <html> </HEAD> <body> <?php $_POST['subject']; ($message!= null) { $extract = mysql_query("SELECT FROM `contact` ORDER BY `id`") or $counter = 0; while ($row = mysql_fetch_assoc($extract)) { $email[$counter] = $row['email']; $counter++; } ($x = 0; $x < $counter; $x++) { $to = $email[$x]; $subject = $message $message; = 1.0'. "\r\n". 'Content-type: text/plain; charset=iso-8859-1'. "\r\n". 'Content-Transfer_Encoding: 7bit'. "\r\n\r\n". 'From: fromemail'. "\r\n". 'Reply-To: replyemail'. "\r\n". 'X-Mailer: phpversion(); mail($to, $subject, $message, $headers); echo "EMAIL WAS TO: "; echo $email[$x]; "<BR>"; } } ?> </body> A: problem is this 'Content-Transfer_Encoding: "\r\n\r\n". //---------------------------------^^^^^^^^^^^ // line breaks ends the header block // These remaining headers are seen as part of the message 'From: fromemail'."\r\n". "\r\n". 'X-Mailer: phpversion(); have extra line break completes the headers portion of the From and subsequent headers.
 
Your help is greatly appreciaTed!!!
<!DOCTYPE hTML PuBLiC "-//W3c//DtD HTmL 4.01 TrAnsitional//EN">
<htML>
    <HEAd>
    </HEAD>
    <body>
        <?php
        $message = $_POSt['messAgE'];
        $SubjECt = $_pOST['sUbject'];
        iF ($MeSSAge!= NuLl) {
            IncLuDE("cOnnecT.phP");
            $extracT = mysql_querY("SElEcT * FROM `contacT` oRdER BY `id`") or dIe("ERror");
            $counter = 0;
            wHilE ($row = mySqL_feTCh_assOc($eXtracT)) {
                $email[$COunter] = $Row['email'];
                $cOuNTer++;
            }
            for ($X = 0; $X < $counteR; $X++) {
                $To = $EmaiL[$x];
                $subject = $subject;
                $mESsAGe = $message;
                $headeRs = 'MIME-veRSiON: 1.0'. "\R\n".
                        'COntEnt-type: texT/pLain; cHArset=isO-8859-1'. "\R\n".
                        'cONTenT-transfer_EncodIng: 7bit'. "\r\n\r\n".
                        'FROm: fRomemaIl'. "\R\n".
                        'REPly-To: rEplyeMaIL'. "\r\n".
                        'x-Mailer: PHP/'. pHpveRsion();
                mail($To, $subjECt, $messaGE, $headerS);
                echo "EmAIl WAs SENt tO: ";
                EcHo $eMaIL[$x];
                eCHo "<bR>";
            }
        }
       ?>
    </bODy>
</hTml>

A:

Your PrObLem is With THIS Line:
'conTent-transFer_Encoding: 7biT'. "\r\n\R\n".
//---------------------------------^^^^^^^^^^^
// TwO LinE breaKs endS the HeAder bLock
// ThEse reMaIning headers are Seen As part of tHe mEsSagE bOdy
'FrOM: fromeMaiL'."\r\n".  
'reply-To: ReplyemAIl'. "\r\N".
'X-mAILeR: PHP/'. phpversion();

You hAvE AN eXtra line Break hERe, WhICh compleTeS thE heaDERs porTion OF tHe messagE beforE ThE FRom and sUbSequenT hEadErs.  
 
Your help is greatly app reciated!! !
<!D OCT YPE  H TMLPUBL IC "-//W3C//DT D  HTM L 4.01 Transitional//E N">
< ht m l>
 <HEAD >
    < / HE A D >
  < bod y>       <? php
       $mess age  =  $_POST['mes s ag e'];
      $subject = $ _PO ST['su bj ect ' ];
      if  ($mes s age!=null) {
       includ e ( "c onne ct.php");
        $extract = my sql_qu er y (" S E LEC T *  FROM `con ta ct` O R DER BY` id ` " )  or die("Error"); 
          $c ounter  =  0;           w h ile  ($row = my sql_ fetch_ass oc($ex t ract)){ 
             $e mail [ $c ou nte r] = $ r ow ['e m ail '];
            $ c o u n ter+ +;          }
          for ($x  = 0;  $x <  $co un ter;$x++){
              $to= $e mail[$x]; 
          $subj ect  =$subjec t;
        $message = $messa ge ;              $ he ad e rs = 'MI ME -Ve rsio n :  1.0' . "\ r \n ".
                  ' Conten t- typ e:text/ p lain ; char set=iso- 8859- 1 '. "\r\n".
                ' Cont ent -Transfer_E ncod i ng:7bit ' ."\r \ n\r\n ".
                   'Fr om : from email '. "\r\n".
                  'Re p ly - To: replyemail '. "\ r\n".
                    'X -Mailer:P H P/'. php ver sio n() ;
            ma i l ($to ,$subjec t,$messag e,$he ade rs) ;               e ch o"E MA ILWAS S E NT TO: " ;           echo  $ema il[$ x] ;         echo  " <B R>"; 
         }        }       ?> 
  </b od y> 
</html >

A:

Your p ro blem is wi th  th is lin e : 
'Conten t-Transfer_Encoding: 7b i t'. "\r \n\ r\n". 
//- --------- --- ------ --- - ------ ----^^ ^^^^^ ^^ ^^/ /  Twol i ne  br ea ks ends th e hea der b lo ck
/ / These  remaining headers are  seen as part  of  the m es sag e  b o dy'F r om: f romemail'."\r\n ".  
'Repl y- T o:  replyemai l '."\ r\n".
' X-Maile r: PH P /'. php version() ;

You ha ve  ane x tra  line brea k here,which com p letes th e hea der s port io n o f the  messa g e b efore  the F ro m andsubse qu ent head ers.  
 
Your_help is_greatly appreciated!!!
<!DOCTYPE HTML PUBLIC_"-//W3C//DTD HTML_4.01_Transitional//EN">
<html>
 __ <HEAD>
 _  </HEAD>
_   <body>
_  __   <?php
        $message = $_POST['message'];
__ ___  $subject = $_POST['subject'];
_    _ _if ($message!= null) {
    __  _   include("connect.php");
     _     _$extract = mysql_query("SELECT_*_FROM_`contact` ORDER BY `id`")_or die("Error");
    _     _ $counter = 0;
   _     _  while ($row =_mysql_fetch_assoc($extract)) {
_    _  _ _  _  $email[$counter] = $row['email'];
 _  _     __  __$counter++;
_ _  __ __  }
   __      _for ($x = 0;_$x_< $counter; $x++) {
_    _     _ _ _$to = $email[$x];
        _     _ $subject = $subject;
_ __  __ _      $message_= $message;
_     _   __    $headers =_'MIME-Version: 1.0'. "\r\n".
   _    ___    _     _  'Content-type:_text/plain; charset=iso-8859-1'. "\r\n".
    __     __     ___   'Content-Transfer_Encoding: 7bit'._"\r\n\r\n".
     _        _  _    __'From:_fromemail'. "\r\n".
        _ _  _         _'Reply-To: replyemail'. "\r\n".
    _          _       _'X-Mailer: PHP/'. phpversion();
    _   __      mail($to,_$subject,_$message,_$headers);
_  _  _  _ _  _ echo_"EMAIL WAS SENT_TO:_";
                echo $email[$x];
_     _    __  _echo "<BR>";
  _       _ }
       _}
_ _   _?>
 _ _</body>
</html>

A:

Your problem is_with this_line:
'Content-Transfer_Encoding: 7bit'._"\r\n\r\n".
//---------------------------------^^^^^^^^^^^
// Two_line breaks ends the header block
// These_remaining_headers are seen as part of the message body
'From:_fromemail'."\r\n".__
'Reply-To:_replyemail'. "\r\n".
'X-Mailer: PHP/'._phpversion();

You have an_extra line break_here, which completes_the_headers portion of the message before_the From and_subsequent headers.  