Testlink 系統(tǒng)郵件SMTP簡要配置說明

備注:關(guān)鍵點(diǎn)已用“xxxxxxxxxxxx”注釋



// ----------------------------------------------------------------------------

/* [SMTP] */

/**

* @var string SMTP server name or IP address ("localhost" should work in the most cases)

* Configure using custom_config.inc.php

* @uses lib/functions/email_api.php

*/

$g_smtp_host? ? ? ? = 'mail.downjoy.com';? # SMTP server MUST BE configured

# Configure using custom_config.inc.php

$g_tl_admin_email? ? = 'xxxxxxxxxxxx@downjoy.com'; # for problem/error notification

$g_from_email? ? ? ? = 'xxxxxxxxxxxx@downjoy.com';? # email sender

$g_return_path_email? = 'xxxxxxxxxxxx@downjoy.com';

/**

* Email notification priority (low by default)

* Urgent = 1, Not Urgent = 5, Disable = 0

**/

$g_mail_priority = 5;

/**

* Taken from mantis for phpmailer config

* select the method to mail by:

* PHPMAILER_METHOD_MAIL - mail()

* PHPMAILER_METHOD_SENDMAIL - sendmail

* PHPMAILER_METHOD_SMTP - SMTP

*/

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

/** Configure only if SMTP server requires authentication */

$g_smtp_username? ? = 'xxxxxxxxxxxx@downjoy.com';? # user

$g_smtp_password? ? = 'xxxxxxxxxxxx';? # password

/**

* This control the connection mode to SMTP server.

* Can be '', 'ssl','tls'

* @global string $g_smtp_connection_mode

*/

$g_smtp_connection_mode = '';

/**

* The smtp port to use.? The typical SMTP ports are 25 and 587.? The port to use

* will depend on the SMTP server configuration and hence others may be used.

* @global int $g_smtp_port

*/

$g_smtp_port = 25;

/**

* @see https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

*? ? ? Opportunistic TLS

*/

$g_SMTPAutoTLS = false;

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容