Page 1 of 1

Email debugging

Posted: 14 Dec 2010, 09:30
by Qmpeltaty
Hello

I had problems with mail notification after Mantis upgrade from 1.1.8 to 1.2.3. The thing is that email notification is being send to users who should not get it - randomly without any rules ( of course configuration has been checked). There was no problem with previous version. My Mantis run on winxp prof sp3 and wamp (Apache 2.2.11, PHP 5.2.9-1, Mysql 5.1.32). How to debug it and find solution ?

Re: Email debugging

Posted: 14 Dec 2010, 09:32
by atrol
add to config_inc.php and adjust path

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';

Re: Email debugging

Posted: 14 Dec 2010, 09:54
by Qmpeltaty
My config is :

Code: Select all

$g_log_level = LOG_EMAIL;
	$g_log_destination = 'file:path/mantis.log';
Should i change

Code: Select all

 $g_log_level = LOG_EMAIL; 
to

Code: Select all

 $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT; 
??

Re: Email debugging

Posted: 14 Dec 2010, 10:40
by atrol
yes, this will log more information about users who will get email and why they will get email