美文网首页
Testlink 系统邮件SMTP简要配置说明

Testlink 系统邮件SMTP简要配置说明

作者: Benjamin_v | 来源:发表于2017-05-26 23:06 被阅读0次

备注:关键点已用“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;

相关文章

网友评论

      本文标题:Testlink 系统邮件SMTP简要配置说明

      本文链接:https://www.haomeiwen.com/subject/tlhffxtx.html