phplist简介--开源免费的邮件群发软件

1.phplist官方网站

www.phplist.com

 目前最新版是2.10.13.

 可以先去官网去了解一下,有在线demo,不过是测试模式不能发邮件。

2.上传lists文件夹到服务器,

修改config.php配置文件

# choose your language by using the dropdown in the pages.
$language_module = "english.inc";

# what is your Mysql database server
#数据库服务器地址
$database_host = "localhost";

# what is the name of the database we are using
#数据库名字
$database_name = "phplist";

# who do we log in as?
#数据库用户名
$database_user = "root";

# and what password do we use
#密码
$database_password = 'ok';

# if you use multiple installations of PHPlist you can set this to
# something to identify this one. it will be prepended to email report
# subjects
$installation_name = 'PHPlist';

# if you want a prefix to all your tables, specify it here,
#表前缀
$table_prefix = "phplist_";

# if you want to use a different prefix to user tables, specify it here.
# read README.usertables for more information
$usertable_prefix = "phplist_user_";

 # but display what it would have sent
define ("TEST",0);

这里修改为0,否则是测试模式,不可以发邮件

# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
#smtp服务器地址
define("PHPMAILERHOST",'');

# if you want to use smtp authentication when sending the email uncomment the following
# two lines and set the username and password to be the correct ones
#smtp邮件用户名及密码
$phpmailer_smtpuser = '';
$phpmailer_smtppassword = '';

配置完成就可以发邮件了。

3.如果你不想使用默认的fck编辑器,可以换成tinymce编辑器

# NOTE: If you enable TinyMCE please disable FCKeditor and vice-versa.
#如果不使用fck,修改为0
define("USEFCK",1);

# If you want to upload images to the FCKeditor, you need to specify the location
# of the directory where the images go. This needs to be writable by the webserver,
# and it needs to be in your public document (website) area
# the directory is relative to the root of PHPlist as set above
# This is a potential security risk, so read README.security for more information
define("FCKIMAGES_DIR","uploadimages");

# TinyMCE Support (http://tinymce.moxiecode.com/)
# It is suggested to copy the tinymce/jscripts/tiny_mce directory from the
# standard TinyMCE distribution into the public_html/lists/admin/plugins
# directory in order to keep the install clean.
# NOTE: If you enable TinyMCE please disable FCKeditor and vice-versa.
#这里修改为1
# Set this to 1 to turn on TinyMCE for writing messages:
define("USETINYMCEMESG", 0);
# Set this to 1 to turn on TinyMCE for editing templates:
define("USETINYMCETEMPL", 0);

 然后去官方网站下载tinymce包,放到admin/plugins下面,登录后台就可以看到效果了。

4.当你使用Phplist发送邮件时,你收到的邮件是否有Phplist logo或者powered by 之类的信息?

如果这样,你可以修改为你想的信息,这样显起来,更为专业。

方法如下:

1.去掉版权图片。

打开config/config.php文件。

 
1 define(“EMAILTEXTCREDITS”,0);

修改为:

1 define(“EMAILTEXTCREDITS”,1);

这样发送html邮件的时候就不会加上图片版权信息了,但是会替换成文字的版权信息。

2.修改默认文字。

找到文件:lists/admin/sendemaillib.php 做如下修改:

找到:

1 $text["signature"] = "\n\n--\nPowered by PHPlist, www.phplist.com  --\n\n";

修改为相应的信息就可以了。

参考资料:http://www.taobaowang-gw.com

猜你喜欢

转载自jiale-wang.iteye.com/blog/944755