php mail()函數(shù)在windows不能用,需要安裝sendmail。 1. 從http://glob.com.au下載sendmail.zip 2. 解壓sendmail.zip到目錄下(最好使用短路徑,長路徑會導致問題的出現(xiàn)),我安裝的路徑是: E:\wamp\sendmail 3.修改php.ini 配置,我是使用的QQ郵箱發(fā)送郵件。配置如下圖所示: 4.修改 sendmail.ini,文件路徑:E:\wamp\sendmail\sendmail.ini
下面這兩項最好開啟,方便查看那里出問題了
5.測試發(fā)送郵件功能
>> 本文固定鏈接: http://www.phpmarker.com/1.html >> 轉(zhuǎn)載請注明: phpmarker 2014年01月03日 于 phpmarker.com 發(fā)表 |
關于我們|手機版|小黑屋|地圖|【道勤網(wǎng)】-bmrsportswear.com 軟件視頻自學教程|免費教程|自學電腦|3D教程|平面教程|影視動畫教程|辦公教程|機械設計教程|網(wǎng)站設計教程【道勤網(wǎng)】 ( 皖ICP備15000319號-1 )
GMT+8, 2024-10-24 02:00