Bu Toplu Mail Çalışmıyor Ama En Alttaki
<?
session_start();
$user="****";
$server="****";
$dbname="****";
$sifre="****";
mysql_connect("$server","$user","$sifre");
mysql_select_db("$dbname");
$miktar=1;
$listart=($sayfa-1)*$miktar;
$lisfinish=$miktar;
$count=$listart;
$b=0;
echo "$listart - $lisfinish";
$uyebak=mysql_query("SELECT * FROM kuyeler order by id LIMIT $listart,$lisfinish");
while ($uy=@mysql_fetch_array($uyebak))
{
if ($uy["email"])
{
$emal=$uy["email"];
$rumuz=$uy["rumuz"];
$sifre=$uy["sifre"];
$msg= "
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-9 />
<title>Kalpler.net İslami Sohbet Evleri</title>
<link href=http://www.kalpler.net/EXE/KNEXINC/exe.css rel=stylesheet type=text/css>
</head>
<body bgcolor=FF6600 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<table width=100% height=100% border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td><table border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td valign=bottom><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet01.jpg width=805 height=38 border=0 /></a></td>
</tr>
<tr>
<td width=805 valign=bottom><table width=805 border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=403><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td colspan=><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet07.jpg width=403 height=47 border=0 /></a></td>
</tr>
<tr>
<td><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td height=232><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=10><img src=http://www.kalpler.net/email/kalplernet03.jpg width=10 height=232 /></td>
<td width=377 bgcolor=#FFFFFF><table width=350 border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=200><p class=text12>Merhaba,<br />
Kalpler.Net Üyelik yeni görünümü ile karşınızda. Sitemize giriş yaparak muhabbetin keyfini çıkarın...<br><br>UNUTMAYIN !<br>Kalpler.Net Ücretsizdir...<br><br>Sitemizde görüşmek üzere...
Rumuz : $rumuz<br />Şifre : $sifre
<p align=right class=text12><a href=http://www.kalpler.net>Kalpler.Net</a></p></td>
</tr>
</table></td>
<td width=16><img src=http://www.kalpler.net/email/kalplernet05.jpg width=16 height=232 /></td>
</tr>
</table></td>
</tr>
<tr>
<td height=65 colspan=2><img src=http://www.kalpler.net/email/kalplernet04.jpg width=403 height=66 /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width=402><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet06.jpg width=402 height=345 border=0 /></a></td>
</tr>
</table></td></tr>
</table></td>
</tr></table>
";
mail("senel@exew.com,skapan@gmail.com","Merhaba $rumuz",$msg,
"From: Kalpler.Net<admin@kalpler.net>\r\nReply-to:admin@kalpler.net>");
echo "<br>".$b++;
}
}
/*
*/
?><?
include "cnfg.php";
$pstart="";
$islemtamam=3;
if ($HTTP_POST_VARS[Remember])
{
$bak=mysql_query("select * from kuyeler where email='$HTTP_POST_VARS[email]'");
$sifre=@mysql_result($bak,0,"sifre");
$rumuz=@mysql_result($bak,0,"rumuz");
if ($sifre)
{
$pstart="<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-9 />
<title>Kalpler.Net . : : . / Muhabbetin yeni adresi. : : .</title>
<link href=http://www.kalpler.net/EXE/KNEXINC/exe.css rel=stylesheet type=text/css>
</head>
<body bgcolor=FF6600 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<table width=100% height=100% border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td><table border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td valign=bottom><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet01.jpg width=805 height=38 border=0 /></a></td>
</tr>
<tr>
<td width=805 valign=bottom><table width=805 border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=403><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td colspan=><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet02.jpg width=403 height=47 border=0 /></a></td>
</tr>
<tr>
<td><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td height=232><table width=403 border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=10><img src=http://www.kalpler.net/email/kalplernet03.jpg width=10 height=232 /></td>
<td width=377 bgcolor=#FFFFFF><table width=350 border=0 align=center cellpadding=0 cellspacing=0>
<tr>
<td height=200><p class=text12>Merhaba,<br />
Kalpler.Net üyelik bilgileriniz aşağıda bilgilerinize sunulmuştur.<br />
<br />
Sitemizde buluşmak dileğiyle;<br />
<br />
Rumuzunuz : <span class=text12red>";
$pstart.=$rumuz;
$pstart.="</span><br />
Şifreniz :<span class=text12red>";
$pstart.=$sifre;
$pstart.="</span></p>
<p align=right class=text12><a href=http://www.kalpler.net>Kalpler.Net</a></p></td>
</tr>
</table></td>
<td width=16><img src=http://www.kalpler.net/email/kalplernet05.jpg width=16 height=232 /></td>
</tr>
</table></td>
</tr>
<tr>
<td height=65 colspan=2><img src=http://www.kalpler.net/email/kalplernet04.jpg width=403 height=66 /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width=402><a href=http://www.kalpler.net><img src=http://www.kalpler.net/email/kalplernet06.jpg width=402 height=345 border=0 /></a></td>
</tr>
</table></td></tr>
</table></td>
</tr></table>
";
}
else
{
$islemtamam=4;
}
}
if ($pstart)
{
$islemtamam=1;
$msg=$pstart;
$emails="$HTTP_POST_VARS[email]";
$subject="Kalpler.Net Üyelik Bilgileriniz";
$headers = "From: From Web $email\r\n";
$headers .= "X-Sender: admin@kalpler.net<Web Contact>\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <$from_email>\n";
$headers .= "This is a multi-part message in MIME format.\n";
$headers .= "------=MIME_BOUNDRY_main_message \n";
$headers .= "Content-Type: multipart/alternative; boundary=\"----=MIME_BOUNDRY_message_parts\"\n";
ini_set('sendmail_from','Kalpler.Net <kaos@kalpler.net>');
if(mail($emails,$subject,$msg, "From:admin@kalpler.net\nMIME-Version: 1.0\nContent-Type:text/html; charset=iso-8859-9\n"))
{
$islemtamam=2;
}
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>Kalpler.Net . : : . / Muhabbetin yeni adresi....</title>
<link href="EXE/KNEXINC/exe.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="FF6600" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><table border="0" align="center" cellpadding="0" cellspacing="4">
<tr>
<td><img src="EXE/Them/banner_giris.gif" width="321" height="67"></td>
</tr>
<tr>
<td width="328" height="336" background="EXE/Them/bg_giris.gif"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="224" height="332" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="47" valign="bottom"><table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="tit_oranbig">Şifre Hatırlatma </td>
</tr>
</table></td>
</tr>
<tr>
<td height="220" align="center" valign="middle" class="linkOrn">
<p>
<?
if ($HTTP_POST_VARS[Remember] && $islemtamam==2)
{
?>
Bilgileriniz
<?=$HTTP_POST_VARS[email];?>
adresine iletilmiştir</p>
<p><a href="http://www.kalpler.net">Ana Sayfa</a>
<?
}else{
?>
</p>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<?
if ($HTTP_GET_VARS[hata])
{
?> <tr>
<td height="22" align="center" class="title_Kirmizin"><?
if ($HTTP_GET_VARS[Remember] && $islemtamam==1){echo "Mail gönderilirken bir hata oluştu lütfen tekrar deneyin.";}
if ($HTTP_GET_VARS[Remember] && $islemtamam==4){echo "$HTTP_POST_VARS[email]<br>Kayıtlı bir email adresi değil.";}
if ($HTTP_GET_VARS[Remember] && $islemtamam==3){echo "Lütfen kayıt sırasında girdiğiniz email adresinizi girin..";}
?></td>
</tr>
<?
}
?>
<tr>
<form action="" method="post" name="form1" id="form1"> <td>
<table width="175" border="0" align="center" cellpadding="3" cellspacing="3">
<tr>
<td height="22" colspan="2" align="center" class="text"><font size="2">E-posta adresiniz : </font></td>
</tr>
<tr>
<td height="22" colspan="2" align="center" class="text"><input name="email" type="text" class="kutu" id="email" size="25" style="height:22" /></td>
</tr>
<tr>
<td align="center" class="linkNrm"><label><span class="title_Siyah">
<input name="Remember" type="submit" class="buton" id="Remember" style="border:1px solid #000000; font-family:Arial; color:FFFFFF; font-size:9pt; height:25px; cursor:hand; width:170px; background-color:ff8000" onMouseOver="this.style.backgroundColor='#FFBE10';" onMouseOut="this.style.backgroundColor='ff8000';" value="Şifremi Gönder">
</span></label></td>
</tr>
</table>
</td> </form>
</tr>
</table>
<?
}
?> </td>
</tr>
<tr>
<td height="65" align="center" class="tit_GriBig"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>Bu İSe çalışıyor ama bu şifre hatırlatma üsteki ise herkeze toplu mail atma şifre gönder ile bir tek üye yerine sitedeki bütün üyelere mail atabilirmiyim ? yardım