zoukankan      html  css  js  c++  java
  • window 配置 sendmail

    1. http://glob.com.au/sendmail/下载sendmail.zip

    2. 解压sendmail.zip到目录下(最好使用短路径,长路径会导致问题的出现),我安装的路径是: E:wampsendmail

    3.修改php.ini 配置,我是使用的QQ邮箱发送邮件。配置如下图所示: 
    title

    4.修改 sendmail.ini,文件路径:E:wampsendmailsendmail.ini

    1. smtp_server=smtp.qq.com
    2. smtp_port=25
    3. auth_username= yourusername //123456789@qq.com
    4. auth_password=yourpassword // 腾讯邮箱授权第三方登录授权码,非QQ密码
    5. force_sender= yourusername // 和auth_username 必须一样,不然禁止发送

    下面这两项最好开启,方便查看那里出问题了

      1. ; log smtp errors to error.log (defaults to same directory as sendmail.exe)
      2. ; uncomment to enable logging
      3. error_logfile=error.log
      4. ; create debug log as debug.log (defaults to same directory as sendmail.exe)
      5. ; uncomment to enable debugging
      6. debug_logfile=debug.log
  • 相关阅读:
    Masonry
    数据解析
    UIImage 两种初始化的区别
    GCD
    数据处理之文件读写
    关注即时通讯
    跳转appStore评分
    iOS 9 Safari广告拦截插件
    Cocoapods的安装以及使用
    iOS中Block的基础用法
  • 原文地址:https://www.cnblogs.com/ilys/p/6209813.html
Copyright © 2011-2022 走看看