Hi I am sending newsletter to my site's member. Mails are reaching the members. My problem is if there is a wrong email, i want to recieve mail delivery failed mail. Could you help me? <? require("../inc_sqlcfg.php"); // deneme.html dosyasI gondermek istediginiz html dosyasI $fp = fopen("bulten0603.htm","r"); while(!feof($fp)){ $x = fgets($fp,2048); $y.=$x; } $gonsor=mysql_query("select email from $tbl_yeniuye limit 0,400"); while($gon=mysql_fetch_array($gonsor)) { $uye_sor=mysql_query("select * from $tbl_uyeler where email='$gon[email]'"); $uye_say=mysql_num_rows($uye_sor); if($uye_say<1) { $header .= "From: Fuarplus <bulten@fuarplus.com>\n"; $header .= "Reply-To: Fuarplus <bulten@fuarplus.com>\n"; $header .= "Return-Path: <bulten@fuarplus.com>\n"; $header .= "Errors-To: <bulten@fuarplus.com>\n"; $header .= "Content-Type: text/html; charset=iso-8859-1\n"; mail($gon[email], "Bulletin", "$y", $header); $sayac++; echo "<br>$sayac- $gon[email] - "; echo date("H.i.s"); } } ?> ===== Efe Efeoðlu Marmara Üniversitesi Bilgisayar ve Kontrol Öðretmenliði Uluslararasý Animasyon Festivali http://www.iaf-istanbul.com __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Coral Calcium for Greater Health - $23.95 http://www.challengerone.com/t/l.asp?cid=2805&lp=calcium2.asp http://us.click.yahoo.com/MmkSQC/NTVGAA/ySSFAA/saFolB/TM ---------------------------------------------------------------------~-> Look here for Free PHP Classes of objects: http://phpclasses.UpperDesign.com/ To unsubscribe from this group, send an email to: php-objects-unsubscribe@egroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/