久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php中使用mail()函數(shù)不能發(fā)郵件怎么辦

      php中使用mail()函數(shù)不能發(fā)郵件的解決方法:首先下載sendmail并解壓;然后打開(kāi)php.ini配置文件,編輯“mail function”模塊;最后編輯sendmail.ini配置文件,設(shè)置郵箱信息即可。

      php中使用mail()函數(shù)不能發(fā)郵件怎么辦

      原因分析:

      mail()函數(shù)在windows系統(tǒng)中不能直接使用,需要下載sendmail。

      (推薦教程:php圖文教程)

      解決方法:

      首先下載sendmail,進(jìn)行解壓,路徑自定義,例如:E:sendmail;

      然后在php.ini配置文件中加入以下配置(以163郵箱為例);

      [mail function] SMTP = smtp.163.com smtp_port = 25 sendmail_from = 4u4v@163.com sendmail_path = "E:sendmailsendmail.exe -t"

      (視頻教程推薦:php視頻教程)

      然后修改sendmail.ini文件;

      smtp_server=smtp.163.com  //這里是配置對(duì)應(yīng)的163的smtp smtp_port=25 auth_username=username  //郵箱用戶名 auth_password=password   //郵箱密碼 force_sender=username@163.com //你的郵箱全名 用戶名@163.com

      完成!

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)