很多玩discuz的彭友在使用在線發(fā)郵件的功能,但是測試了"通過 PHP 函數(shù)的 sendmail 發(fā)送(推薦此方式)"怎么都沒用,因為本人現(xiàn)在用的是iis+php環(huán)境,所以就出這么一個教程,教大家在自己服務器上配置sendmail 首先你需要先到從http://glob.com.au/sendmail/下載sendmail.zip文件,點此可以直接下載噢,然后把它解壓到如D:\php\sendmail\目錄下。 然后打開php.ini文件,找到下面這段代碼
接著修改sendmail目錄下的sendmail.ini文件,主要填的內(nèi)容有以下幾項
以上四項正確填寫修改完成后保存,然后重啟IIS即可正常使用。 如果不能發(fā)送郵件,檢查下端口是不是被屏蔽了,mcafee是不是設置了禁止發(fā)送郵件等 |
關于我們|手機版|小黑屋|地圖|【道勤網(wǎng)】-bmrsportswear.com 軟件視頻自學教程|免費教程|自學電腦|3D教程|平面教程|影視動畫教程|辦公教程|機械設計教程|網(wǎng)站設計教程【道勤網(wǎng)】 ( 皖ICP備15000319號-1 )
GMT+8, 2024-10-23 21:40