51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 1889|回复: 0
打印 上一主题 下一主题

[转贴] Mantis邮件配置(v1.2.19版本。验证可用)

[复制链接]
  • TA的每日心情
    无聊
    前天 09:22
  • 签到天数: 402 天

    连续签到: 3 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2018-12-19 13:31:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    在php.ini文件中修改
    1. [mail function]
    2. SMTP = smtp.qq.com
    3. smtp_port = 465  
    4. sendmail_from = 你的QQ@qq.com
    5. sendmail_path =你的QQ@qq.com
    复制代码


    要使用SSL,继续修改php.ini
    1. extension=php_openssl.dll
    复制代码


    修改config_defaults_inc.php
    1. $g_administrator_email = '你的QQ@qq.com';
    2. $g_webmaster_email = '你的QQ@qq.com';
    3. $g_from_email = '你的QQ@qq.com';
    4. $g_return_path_email = '你的QQ@qq.com';
    5. $g_enable_email_notification = ON;
    6. $g_mail_priority = 3;
    7. $g_phpMailer_method = PHPMAILER_METHOD_SMTP;
    8. $g_smtp_host = 'smtp.qq.com';
    9. $g_smtp_username = '你的QQ@qq.com';
    10. $g_smtp_password = '密码';
    11. $g_smtp_connection_mode = 'ssl';
    12. $g_smtp_port = 465;
    复制代码


    最后测试邮件
    http://Mantis路径/admin/test_email.php





    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-26 01:13 , Processed in 0.063395 second(s), 24 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表