Page 1 of 1

Activity Added to old ticket each time script runs.

Posted: 09 Aug 2019, 08:41
by imranicp
I have configured EmailReporting to create bugs from email, i run the script every 10 minutes to check and create bugs from emails, It creates bug from email, but next time the script runs, it adds the email as an activity in the same ticket, it constantly adds activities to the ticket it created the first time. I have disabled the option of deleting email.
Anybody faced similar situation?
Any help will be appreciated.
Thanks

Re: Activity Added to old ticket each time script runs.

Posted: 09 Aug 2019, 19:36
by SL-Gundam
For some reason the email is not marked properly or the script is running into an error before fully processing the email

What version of MantisBT are you running?
What version of EmailReporting are you running?
Are you using IMAP or POP3?
Try running bug_report_mail.php with the below code added to the MantisBT config_inc.php. This way you can check whether the script runs properly or you are getting errors.

Code: Select all

	$g_show_detailed_errors	= ON;

	$g_display_errors = array(
		E_WARNING => 'halt',
		E_NOTICE => 'halt',
		E_USER_ERROR => 'halt',
		E_USER_WARNING => 'halt',
		E_USER_NOTICE => 'halt'
	);