I'm currently having a problem with configuring the Email Notification of Mantisbt(Version 2.15.0).
Here's my current config_inc:
Code: Select all
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = '';
$g_show_version = ON;
$g_default_timezone = 'Europe/Berlin';
$g_crypto_master_salt = 'xxxxxxxxxxxxx';
$g_allow_signup = OFF;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host ='smtp.host.com';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;
$g_smtp_username = 'XXX';
$g_smtp_password = '********';
$g_administrator_email = 'email@sam.com';
$g_from_name = ' Mantis Bug Tracker';
$g_webmaster_email = 'email@sam.com';
$g_return_path_email = 'email@sam.com';
$g_from_email = 'email@sam.com';
$g_email_send_using_cronjob = OFF;
$g_email_receive_own = ON;
$g_debug_email = ON;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_EMAIL_VERBOSE | LOG_ALL ;
$g_log_destination = 'file:C:\mantisbt.log';
?>
2018-10-04 10:09 CEST MAIL_VERBOSE email_api.php:1214 email_send_all() Sending message 10734
2018-10-04 10:09 CEST MAIL_VERBOSE email_api.php:1346 email_send() Using debug email '1'
2018-10-04 10:09 CEST MAIL email_api.php:1353 email_send() ERROR: Message could not be sent - Invalid address: (addAnAddress to): 1
2018-10-04 10:09 CEST DB database_api.php:313 db_query() array (
0 => 'SELECT * FROM mantis_email_table WHERE email_id=\'10735\'',
1 => '0.0015',)