<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>seo arşivi &#187; mail</title>
	<atom:link href="http://www.seoarsivi.com/etiket/mail/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seoarsivi.com</link>
	<description>Arama Motoru Optimizasyonu , Scriptler ,Genel Bilgiler ve SEO Makaleleri</description>
	<lastBuildDate>Sat, 03 Mar 2012 17:01:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Php&#8217;de mail ,Toplu Mail,Gruplu Mail, Mailde Resim ve Html mail Gönderme İşlemleri</title>
		<link>http://www.seoarsivi.com/arsiv/phpde-mail-toplu-mailgruplu-mail-mailde-resim-ve-html-mail-gonderme-islemleri.seo</link>
		<comments>http://www.seoarsivi.com/arsiv/phpde-mail-toplu-mailgruplu-mail-mailde-resim-ve-html-mail-gonderme-islemleri.seo#comments</comments>
		<pubDate>Sat, 31 Oct 2009 23:56:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://www.seoarsivi.com/?p=13</guid>
		<description><![CDATA[Mail isim ve grup adında üç adet alan oluşturuyorsunuz. maile mail adreslerini isime kullanıcı ismini ve grup a da grup id yi alıyorsunuz grup tablosundan. mailgrup tablosuda id ve grup isminden oluşuyor. Ben fck editörü kullandım siz istediğinizi kullana bilirsiniz. Resim adreslerini txt editöre &#60;img src=logo.gif/&#62; şeklinde yazmalısınız. Grup Tablosu Kod: CREATE TABLE `mailgrup` ( [...]]]></description>
			<content:encoded><![CDATA[<p>Mail isim ve grup adında üç adet alan oluşturuyorsunuz. maile mail adreslerini isime kullanıcı ismini ve grup a da grup id yi alıyorsunuz grup tablosundan. mailgrup tablosuda id ve grup isminden oluşuyor. Ben fck editörü kullandım siz istediğinizi kullana bilirsiniz. Resim adreslerini txt editöre &lt;img src=logo.gif/&gt; şeklinde yazmalısınız.</p>
<p>Grup Tablosu</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Kod:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 98px; text-align: left;" dir="ltr">CREATE TABLE `mailgrup` (
  `id` int(11) NOT NULL auto_increment,
  `grup` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=0 ;</pre>
</div>
<p>Mail Tablosu</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Kod:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;" dir="ltr">CREATE TABLE `mail` (
  `id` int(11) NOT NULL auto_increment,
  `grupid` int(11) NOT NULL,
  `isim` text NOT NULL,
  `mail` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=0 ;</pre>
</div>
<p>1. toplumail1.php içine</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Kod:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 482px; text-align: left;" dir="ltr">&lt;table&gt;&lt;tr&gt;&lt;td width=”600″&gt;&lt;form method=”POST” action=”toplumail.php”&gt;
&lt;p&gt;&lt;?
echo ‘&lt;select name=”grupid”&gt;’;
echo(’&lt;option value=”0″&gt;Hepsi&lt;/option&gt;’);
$kategoriler = mysql_query(”select * from mailgrup order by grup asc”) or die(mysql_error());
while($katego = mysql_fetch_array($kategoriler))
{
echo(’&lt;option value=”‘.$katego[id].’”&gt;’.$katego[grup].’&lt;/option&gt;’);
}
echo ‘&lt;/select&gt;’;
?&gt; &lt;br /&gt;
&lt;input name=”baslik” type=”text” /&gt;&lt;br /&gt;
  &lt;?php
// Automatically calculates the editor base path based on the _samples directory.
// <span class="colorKeywords5"><strong><em><u>This</u></em></strong></span> is usefull only for these samples. A real application should use something like <span class="colorKeywords5"><strong><em><u>This</u></em></strong></span>:
// $oFCKeditor-&gt;BasePath = ‘/fckeditor/’ ; // ‘/fckeditor/’ is the default value.
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, “_samples” ) ) ;

$oFCKeditor = new FCKeditor(’mesaj’) ;
$oFCKeditor-&gt;BasePath = $sBasePath ;
$oFCKeditor-&gt;Value  = ” ;
$oFCKeditor-&gt;Create() ;
?&gt;&lt;/p&gt;
  &lt;p&gt; &lt;/p&gt;
  &lt;p&gt;&lt;input type=”Submit” value=”Mail Gönder” name=”B1″&gt;&lt;input type=”reset” value=”Temizle” name=”B2″&gt;&lt;/p&gt;
&lt;/form&gt;

&lt;/table&gt;</pre>
</div>
<p>2. toplumail.php içine</p>
<div style="margin: 5px 20px 20px;">
<div style="margin-bottom: 2px;">Kod:</div>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;" dir="ltr">&lt;?

$mesaj = $_POST[mesaj];
$targetChars=array(’\\’);
$mesaj=str_replace($targetChars, “”, $mesaj);
$baslik = $_POST[baslik];
$grupid= $_POST[grupid];
if ($grupid==’0′) {
$kimegidiyor = mysql_query(”SELECT * FROM mail”); } else {
$kimegidiyor = mysql_query(”SELECT * FROM mail where grupid=’$grupid’ “);
}
while ($gidecek = mysql_fetch_array($kimegidiyor))
{

$mail =$gidecek[mail];
$isim =$gidecek[isim];

 $fromemail=”info@kadinin.com“;
 $fromname=”Gönderen Kişi”;
 $subject=$baslik;
 $address=$mail;
 $text=’
 &lt;html lang=”tr”&gt;
 &lt;head&gt;
 &lt;meta content=”text/html; charset=utf-8″ http-equiv=”Content-Type”&gt;
 &lt;title&gt;Gönderen Kişi&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
 Merhaba,&lt;br /&gt;
 Sayın’.$isim.’&lt;br /&gt;&lt;br /&gt;

 ’.$mesaj.’&lt;br /&gt;&lt;br /&gt;

    www.kadinin.com&lt;br /&gt; mail adresi.com&lt;br /&gt;
 http://www.kadinin.com&lt;br /&gt;
&lt;/body&gt;&lt;/html&gt;
 ’;

$header = “From: Kadının Sitesi &lt;info@kadinin.com&gt;\n”;
$header .= “X-Sender: &lt;servis@kadinin.com&gt;\n”;
$header .= “X-Mailer: kadinin.com, PHP\n”;
$header .= “X-Priority: 0\n”;
$header .= “Return-Path: &lt;servis@kadinin.com&gt;\n”;

$header .= “Content-Type: text/html; charset=iso-8859-9\n”;
 mail($address,$subject,$text,$header);
echo “Mail Gönderildi $mail&lt;br /&gt;”;

}

?&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.seoarsivi.com/arsiv/phpde-mail-toplu-mailgruplu-mail-mailde-resim-ve-html-mail-gonderme-islemleri.seo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

