PHPLIST 是一套電子報發送系統,專門處理寄送大量的電子郵件。不管您要寄出 500 封、1000封、甚至於一萬封信件,完善的分批作業讓您輕鬆的把郵件寄到指定的訂閱者。

更重要的是,PHPLIST 讓您知道多少封電子報有被訂閱者打開,自動收集及計算點閱率。

如果你需要定期發送電子郵件、或者是需要穩定的工具來寄送大量電子郵件,PHPLIST 是開放原始碼軟體中最佳的選擇。

 

安裝步驟一:下載PHPLIST,網址:http://www.phplist.com,點選>Download

phplist、電子報

步驟二:下載download ZIP

phplist、電子報

步驟三:將下載的檔案解壓縮,解壓出來為\phplist-2.10.10\phplist-2.10.10\public_html\lists,在將lists整個目錄copy至網站\根目錄或上傳至\根目錄

phplist、電子報

步驟四:進入MySQL資料庫,建立一個phplist資料庫,資料庫名稱可自取。

phplist、電子報

步驟五:在 C:\Windows\  or C:\AppServ\php5\,找到 php.ini檔案,開啟此檔案找到 SMTP= 輸入主機位置 and sendmail_from =輸入真實 mail,修改完後重新啟動 Apache。

phplist、電子報

步驟六:修改網站根目錄\lists\config\config.php,修改內容如下

# select the language module to use
# Look for <country>.inc files in the texts directory
# to find your language
# this is the language for the frontend pages. In the admin pages you can
# choose your language by using the dropdown in the pages.
$language_module = "english.inc";    //修改為tchinese.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 = '123456'; //資料庫密碼

# if test is true (not 0) it will not actually send ANY messages,
# but display what it would have sent
define ("TEST",1);             //修改為0,1為測試模式,0為非測試模式

# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'');        //修改為define("輸入SMTP SERVER",'mail');

 

步驟七:在瀏覽器URL:http://localhost/lists/admin/,接著點選>初始化資料庫

phplist、電子報

phplist、電子報

步驟八:點選>安裝

phplist、電子報

接著輸入帳號與密碼,帳號預設為:admin、密碼預設為:phplist

 

步驟九:登入之後,必須設定修改管理者密碼、一般設定、設定欄位、建立電子報、建立訂閱頁面,每設定完一項,就點選首頁 > 安裝繼續設定下一個。

phplist、電子報 

P.S:當點選初始化資料庫的時候發生錯誤!

Database error 1071 while doing query Specified key was too long; max key length is 1000 bytes

解決方式:

找到 lists\admin\structure.php 修改如下

"user_blacklist_data" => array(
        "email" => array("varchar(255) not null unique","Email"),       //將255改為233
        "name" => array("varchar(100) not null","Name of Dataitem"),
        "data" => array("text",""),
        "index_1" => array("emailidx (email)",""),
        "index_2" => array("emailnameidx (email,name)",""),
arrow
arrow

    mitblog 發表在 痞客邦 留言(0) 人氣()