PHP Version: 5.6.0
Database: MS SQL 2008
OS: Windows Server 2008 R2
Dear All,
I have just finish to install and configure mantis (first use) on a server and seems that all functions works properly except the sending email function.
I changed the "config_inc.php" file like follow:
Code: Select all
$g_phpMailer_method = PPHPMAILER_METHOD_SMTP;
$g_smtp_host = 'xxx.xxx.xxx.xxx'; #IP address of the MS Exchange server
$g_smtp_username = 'domain\username';
$g_smtp_password = 'password';
$g_administrator_email = 'username@domain.com';
$g_webmaster_email = 'username@domain.com';
$g_from_email = 'username@domain.com';
$g_return_path_email = 'username@domain.com';
$g_from_name = 'Mantis Bug Tracker';
$g_log_level = LOG_EMAIL | LOG_EMAIL_REIPIENT | LOG_FILTERING | LOG_AJAX | LOG_DATABASE | LOG_LDAP;
$g_log_destination = 'file:C:\mantisbt.log';
On the Exchange server the SMTP function is active because other programs uses it.
The log file show these messages:
Code: Select all
2015-07-15 09:08 CEST mail ERROR: Message could not be sent - Could not instantiate mail function.
2015-07-15 09:08 CEST mail ERROR: Message could not be sent - Invalid address:
Should I modify other configuration files in addition to "config_inc.php"?
I have already searched in internet and on the forum but I couldn't find the solution.
If you need more information to help me don't hesistate to ask,
Thank you very much for your help and support,
Fabio