zblogphp邮箱营销实用工具
邮件营销(Email Marketing)是在用户事先许可的前提下,通过电子邮件的方式向目标用户传递有价值信息的一种网络营销手段。Email营销有三个基本因素:用户许可、电子邮件传递信息、信息对用户有价值。三个因素缺少一个,都不能称之为有效的邮件营销。是利用电子邮件与受众客户进行商业交流的一种直销方式。同时也广泛的应用于网络营销领域。邮件营销是网络营销手法中最古老的一种,邮件营销比绝大部分网站推广和网络营销手法都要老。
先看下用户接收到邮箱以后的效果。

使用方法(懒的做插件了):
在网站跟目录创建一个php文字,名字随意。比如“ytecn.php”。
<?php
require'zb_system/function/c_system_base.php';
require'zb_system/function/c_system_admin.php';
$zbp->Load();?>
<styleclass="fox_global_style">
div.fox_html_content{line-height:1.5;}
p{margin-top:0px;margin-bottom:0px;}
</style>
<divid="contentDiv"style="position:relative;font-size:14px;width:710px;height:auto;margin:8px10px;padding:0px010px;overflow:hidden;font-family:'MicrosoftYaHei',Verdana,'Simsun';background-color:#fff;">
<divid="mailContentContainer"style="font-size:14px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;height:auto;font-family:'lucidaGrande',Verdana;">
<divstyle="font-size:14px;font-family:Verdana,Arial,Helvetica,sans-serif;color:#000;line-height:160%;background:#fff;">
<divclass="itemList">
<?php
$array=GetList(10);
foreach($arrayas$article){
$temp=mt_rand(1,4);
$pattern="/<[img|IMG].*?src=[\'|\"](.*?(?:[\.gif|\.jpg|\.png]))[\'|\"].*?[\/]?>/";
$content=$article->Content;
preg_match_all($pattern,$content,$matchContent);
if(isset($matchContent[1][0]))$temp=$matchContent[1][0];else$temp=$zbp->host."img/$temp.jpg";
?>
<divstyle="border:#e4e4e4solid1px;background-color:#fff;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;padding:0px21px;margin-bottom:10px;">
<divstyle="clear:left;">
</div>
<divstyle="clear:left;">
</div>
<inputtype="hidden"value="10"id="itemSizeId">
<divclass="item"style="font-family:'MicrosoftYaHei',Verdana,'Simsun';position:relative;background-color:rgb(255,255,255);padding:25px00px0;">
<spanclass="itemtool"style="position:absolute;top:20px;right:0px;height:22px;line-height:22px;">
<ahref="<?phpecho$article->Url;?>"class="showItemClass"style="display:inline-block;padding:0;margin:00010px;color:#1a75ca;text-decoration:none;cursor:pointer;">
<?phpecho$article->Time('Y年m月d日H:i:s');?>
</a>
<atitle="阅读全文"class="allTextClick"href="<?phpecho$article->Url;?>"
target="_blank"style="display:inline-block;padding:0;margin:00010px;color:#1a75ca;text-decoration:none;cursor:pointer;">
阅读全文
</a>
</span>
<h2style="padding:0;margin:-5px0px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:90%;width:480px;margin-bottom:8px;">
<ahref="<?phpecho$article->Url;?>"
target="_blank"style="text-decoration:none;">
<spanclass="item_title_down"id="itemNameId_5421673"param="5421673"
style="font-size:16px;cursor:pointer;text-decoration:none;color:#444;font-weight:bold;">
<?phpechohtmlspecialchars($article->Title);?>
</span>
</a>
</h2>
<divclass="openup_department"style="height:1px;width:710px;background:#eee;position:absolute;top:88px;left:-30px;z-index:10;display:none;">
</div>
<divclass="digest"style="min-height:120px;line-height:160%;padding:3px015px0;color:#494949;font-family:'MicrosoftYaHei',Verdana,'Simsun';"param="5439853"id="itemdigest_5439853">
<divclass="item_title_down"param="5439853"style="width:140px;height:100px;border:1pxsolid#EBEBEB;text-align:center;float:right;margin-top:7px;"id="itemImg_5439853">
<imgwidth="140"height="100"src="<?phpecho$temp;?>"id="thumb_5439853"style="cursor:pointer;">
</div>
<divstyle="float:left;margin-top:0px;">
<divstyle="word-wrap:break-word;">
<spanid="itemsummary_5439853"style="line-height:28px;display:block;width:505px;">
<?phpecho$article->Intro;?>
</span>
</div>
</div>
<divstyle="clear:left;"></div>
</div>
</div>
</div>
<?php
}
?>
</div>
<divstyle="clear:left;">
</div>
<divstyle="background:#f7f7f7;height:30px;line-height:30px;text-align:center;border:1pxsolid#e6e6e6;margin-bottom:10px;">
<ahref="#"cid="38601"id="usSubBottom"style="color:#175fa2;text-decoration:none;">邮件太多,不再接收《<?phpecho$zbp->name;?>》的订阅邮件,点击残忍“退订”。</a>
</div>
</div>
</div>
</div>然后,在根目录创建文件夹“img”,里面放4张随机图片,命名为1.jpg、2.jpg、3.jpg、4.jpg。当问题没有图片的时候使用。
然后,重点。。
打开邮箱,点击发送邮件,导入邮箱联系人列表。
然后,自定义一个标题。
内容,选中HTML格式。
然后,通过浏览器打开你的 域名/ytecn.php。右键,查看源代码。全选,复制。
然后,粘贴到你的右键内容里面。
然后,发送。




