備注:關(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;