mantis配置邮件服务-465端口

 mantis配置465端口发送邮件(针对阿里云,默认不开通25端口,必须走465)

# vim /data/htdocs/mantisbt/config/config_inc.php

邮箱配置如下

<?php
$g_hostname               = 'localhost';
$g_db_type                = 'mysqli';
$g_database_name          = 'mantisbt';
$g_db_username            = 'mantisbt';
$g_db_password            = 'mantisbt';

$g_antispam_time_window_in_seconds = 3600;
$g_antispam_max_event_count = 100;

$g_default_timezone       = 'PRC';

$g_crypto_master_salt     = 'Pfqrp0NCcc+Kn+AMdIwc9s0Lhm1zYiew5NTn/ZKcTQU=';

$g_phpMailer_method = PHPMAILER_METHOD_SMTP - SMTP;
$g_return_path_email = 'wangshui898@sina.com';
$g_smtp_host = 'smtp.sina.com';
$g_smtp_username = 'wangshui898@sina.com';
$g_smtp_password = 'mail_token';
$g_smtp_connection_mode = ssl;
$g_smtp_port = 465;


$g_enable_email_notificatio = ON;
$g_send_reset_password = ON;
$g_lost_password_feature = ON;

$g_from_email = 'wangshui898@sina.com';
$g_from_name = 'Bug Tracker';

 

posted @ 2020-07-09 14:29  消磨_时间  阅读(175)  评论(0编辑  收藏  举报