mantis邮件配置

Ora ·
更新时间:2024-11-13
· 848 次阅读

config_defaults_inc.php中添加:

    $g_administrator_email  ='yibaoopen@126.com';     $g_webmaster_email      ='yibaoopen@126.com';     # the "From: " field in emails     $g_from_email           ='yibaoopen@126.com';     # the return address for bounced mail     $g_return_path_email    ='yibaoopen@126.com';

    $g_phpMailer_method = 2;     $g_smtp_host = 'smtp.126.com';     $g_smtp_username = 'yibaoopen';     $g_smtp_password = '******';

config_inc.php中添加:

    $g_administrator_email  ='yibaoopen@126.com';     $g_webmaster_email      ='yibaoopen@126.com';     $g_from_email           ='yibaoopen@126.com';     $g_return_path_email    ='yibaoopen@126.com';

php.ini中修改项:     [mail function]     ; For Win32 only.     SMTP = smtp.126.com     ;smtp_port = 25

    ; For Win32 only.     sendmail_from = yibaoopen@126.com



mantis

需要 登录 后方可回复, 如果你还没有账号请 注册新账号