Email debugging

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Qmpeltaty
Posts: 5
Joined: 13 Dec 2010, 14:44

Email debugging

Post 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 ?
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email debugging

Post 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';
Please use Search before posting and read the Manual
Qmpeltaty
Posts: 5
Joined: 13 Dec 2010, 14:44

Re: Email debugging

Post 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; 
??
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email debugging

Post by atrol »

yes, this will log more information about users who will get email and why they will get email
Please use Search before posting and read the Manual
Post Reply