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: 09 Aug 2019, 08:04

Activity Added to old ticket each time script runs.

Post 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
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

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

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