Hello, I have been trying to send an email to every email address in the table. The email goes fine without any hassles. But iam encountering a strange problem. The header variables are getting displayed in the email even though I dont echo them. Can some one please help me with this. I will send you the code so that you can tell me what I folly I am comitting and also the email that I recieved. The code to send email : [code] $sql_email= "SELECT emailAddress FROM emails ORDER BY contactID"; if ($result_email = mysql_query($sql_email)) { while ($dataRow_email = mysql_fetch_object($result_email)) { //################ SEND EMAIL (START) #################### $to = "$dataRow_email->emailAddress"; $subject = "RC - News Paper Service "; $message = " <table width='95%' border='0' cellspacing='2' cellpadding='2'> <tr> <td>Dear User,</td> </tr> <tr> <td>The following press clippings were uploaded today :</td> </tr> <tr> <td>$mytitle</td> </tr> <tr> <td>To view the full articles login in to www.rsunit.com/?page=press at the press clipping service.</td> </tr> <tr> <td> </td> </tr> <tr> <td>Thank you,</td> </tr> <tr> <td>Regards,</td> </tr> <tr> <td>Research Center, Cyprus College </td> </tr> <tr> <td>www.rsunit.com</td> </tr> </table> "; $headers .= 'From: Research Center <
[email protected]>' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-7' . "\r\n"; mail($to, $subject, $message, $headers); //################ SEND EMAIL (END) #################### } } [/code] The email is like this [code]From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 Dear User, The following press clippings were uploaded today : Δέκα δράσεις για καινοτομία και ανταγωνιστικότητα||Κοινή πλατφόρμα: Ορίζοντες αλλά και ιδιαίτερη προσοχή|| To view the full articles login in to www.rsunit.com/?page=press at the press clipping service. Thank you, Regards, Research Center, Cyprus College www.rsunit.com[/code] Thank you in advance please help me out with this