Activity Added to old ticket each time script runs.

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
imranicp
Posts: 1
Joined: Aug 09, 2019 3:04 am

Activity Added to old ticket each time script runs.

Post by imranicp » Aug 09, 2019 3:41 am

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

SL-Gundam
Posts: 574
Joined: Jul 06, 2011 9:17 am

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

Post by SL-Gundam » Aug 09, 2019 2:36 pm

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'
	); 

Post Reply