> Zencart中文手册 > 解决利用Zen Cart “tell a friend”功能发送垃圾邮件的方法

我们很多人通过Zen Cart的tell a friend功能来发送垃圾邮件,遇到这种情况,可用的解决方法有:

1. 后台-configuration-Email Options里找到Allow Guest To Tell A Friend,关闭游客推荐功能。

2. 下载Zen Cart的垃圾邮件过 滤插件Form Armor Module,该插件专门针对第三方利用contact us, tell a friend发送垃圾邮件的问题。不幸的是,Form Armor是项收费服务,费用不低。下载地址:http://www.zen-cart.com /index.PHP?main_page=product_contrib_info&products_id=1202.

我只是简单按照步骤1关闭了游客推荐功能,有用与否过两天才有结果。补:无用!

如果你和一样觉得tell a friend没用,那么对下列文件重命名,可以彻底删除该功能:

templates/YOUR_TEMPLATE/templates/tpl_tell_a_friend_default

includes/languages/english/tell_a_friend.php

includes/modules/pages/tell_a_friend.php

然后,在后台catalog-product types里面打开网站上所有的产品类型设置,找到Show Product Tell a Friend button,关闭它。