"Complete Test" works, but cronjob doesn't

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

Moderators: Developer, Contributor

Post Reply
nidhoeggr09

"Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

I have set up everything and when i use the "Complete Test" functionality in the plugin preferences all mails are imported correctly. However, when the cronjob runs no tasks are generated and the cronjob finishes without any error. What could be wrong? I am running out of ideas.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

Which version of MantisBT and EmailReporting are you running?
Are you using Apache, IIS or something else?
Which version of PHP are you running?

Also add the following to your MantisBT config_inc.php file (you can remove this later) and test again what happens when you run the cronjob

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

Re: "Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

Thanks for your response. I am using:

Mantis 1.3.0
Email Reporting 0.9.2
Apache with PHP 7.0

Although i added the posted lines to my config_inc.php, the cronjob still finishes wihtout any error or created tickets.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

I've noticed that PHP with Opcache only shows some errors once when the page initially loads. After that the cached one is used and the error does not show anymore.
In this case its important that PHP errors are logged so that you can better check these errors.

Could you check your PHP errors log and see if there are any errors in there? You might need to enable the PHP error log for this to work

When you run the cron job what does it output? nothing? or does it show the following

Code: Select all

Start checking all mailboxes: [date here]


Done checking all mailboxes
You can also run the cronjob file through the browser and see whether that works. If the /scripts/bug_report_mail.php works in a browser but not in a cronjob it is likely that PHP through the command line is not using the proper php.ini for its configuration and therefore cannot use the required extensions.
nidhoeggr09

Re: "Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

It works if i call it through the browser. My php knowledge is quite limited. I managed to get the path of my php.ini, but i don't have access to it via FTP. Can you guide me through this or send me a link or something so i can work something out? The output of the cronjob is nothing, not a single letter.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

What you basically need to do to test this is to run /scripts/bug_report_mail.php from the command line. The command for this should mostly be the same one as in the cron job except that you don't specify any time parameters and such

How this works depends on whether its a linux based or windows based machine and how you access that machine
If you do not have full access to the machine, which is the case when you use a webhosting package offered by another company, then you will most likely have a webinterface where you can manage your website. This webinterface should offer the functionality to set cronjobs. If you are having issues with that i suggest you contact your hoster about the proper method of scheduling the cronjob

You can find out about the proper configuration for php in your current webserver environment by checking the phpinfo() output.
Add the following to a new file on your webserver and run it in a browser to see the output

Code: Select all

<?php
phpinfo();
?>
It will tell you among other things where the php.ini file is located thats being used by the webserver.
nidhoeggr09

Re: "Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

Sorry, maybe i wasn't clear enough. I already have set up a cronjob through the webinterface of my hoster. The only thing i can adjust is the path to the file i want to execute and the time/interval in which it should do that. I can also add an email address where the output of the cronjob should be sent to. Unfortunately this mail is empty (at the beginning i made a mistake and had no access to the file, so i know that if there are errors, they would be in the mail). I also already created a file with the content you mentioned, that's how i found out where my php.ini is. The problem is, that i don't have access to it.

Thanks for you help, i guess i'll ask my webhoster for help. Maybe they know what the problem is.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

Keep in mind that you need to run it like this in the cronjob: /usr/local/bin/php /path/to/mantis/plugins/EmailReporting/scripts/bug_report_mail.php

You cannot directly run the bug_report_mail.php file, you first need to call the php program and give the bug_report_mail.php file as a parameter
nidhoeggr09

Re: "Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

In fact at the webinterface of my hoster, i have to choose an url to a php file. But i made a big step in the right direction this morning. I get the output you mentioned earlier from the cronjob if there are no emails to process. If there are some, i'll get an error. But here is how i got that far:

The plugin suggests two versions of setting up the cronjob.

Code: Select all

1. /mantis/plugins/EmailReporting/scripts/bug_report_mail.php
2. /mantis/plugin.php?page=EmailReporting/bug_report_mail
I started with the first one:

Code: Select all

 http://mywebsite/mantis/plugins/EmailReporting/scripts/bug_report_mail.php
This did not work out, since i got the error that i don't have the permission to access the file. Since i use ssl on my homepage, i tried:

Code: Select all

 https://mywebsite/mantis/plugins/EmailReporting/scripts/bug_report_mail.php
and
 https://mywebsite/mantis/plugin.php?page=EmailReporting/bug_report_mail
Please notice the https. Both resulted in the cronjob finishing without any errors or messages. But i thought the url must be right, so i never tried:

Code: Select all

http://mywebsite/mantis/plugin.php?page=EmailReporting/bug_report_mail
which i am using now. If there are no new mails, i'll get the following result:

Code: Select all

Start checking all mailboxes: [date here]

Done checking all mailboxes
Seems fine! But if there are mails, i'll get this error:

Code: Select all

Logged in as MailReporter Mail Reporter reporter
2016-08-23 10:15 CEST

SYSTEM NOTICE
'Undefined index: ' in '/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/core/mail_api.php' line 636
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Full path: /www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/core/mail_api.php
Line: 636
Variable	Value	Type
p_msg		NULL

t_email
Variable	Value	Type
Reporter_id	5	integer
Subject	Finally it works!	string
X-Mantis-Body	Yay	string

From_parsed
Variable	Value	Type
name	somereporter	string
email	somereporter@hotmail.com	string
From	"somereporter" <somereporter@hotmail.com>	string

To
Variable	Value	Type
0	mantisreporter123@gmail.com	string
1	mantisreporter123@gmail.com	string

Cc
Variable	Value	Type

X-Mantis-Parts
Variable	Value	Type
Filename	Line			Function	Args
/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/core/mail_api.php	516	ERP_mailbox_api	->	parse_content	( <NULL>NULL )
/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/core/mail_api.php	324	ERP_mailbox_api	->	process_single_email	( <string>'1' )
/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/core/mail_api.php	230	ERP_mailbox_api	->	process_pop3_mailbox	-
/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/pages/bug_report_mail.php	59	ERP_mailbox_api	->	process_mailbox	( <array> { ['enabled'] => 1, ['d escription'] => 'New Project 123', ['mailbox_type'] => 'POP3', ['hostname'] => 'pop.googlemail.com', ['port'] => '995', ['encryption'] => 'SSL', ['ssl_cert_verify'] => 0, ['erp_username'] => 'mantisreporter123@gmail.com', ['erp_password'] => 'here would be the password', ['auth_method'] => 'USER', ['project_id'] => 1, ['global_category_id'] => 14 } )
/www/htdocs/account_123xy/mywebsite/mantis/plugin.php	69	-	-	include	( <string>'/www/htdocs/account_123xy/mywebsite/mantis/plugins/EmailReporting/pages/bug_report_mail.php' )
Previous non-fatal errors occurred. Page contents follow.
Start checking all mailboxes: Tuesday 23rd of August 2016 10:15:02
Do you have any ideas on this one?
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

Line 636 of version 0.9.2 should be

Code: Select all

$t_email[ 'Priority' ] = $this->_mail_bug_priority[ strtolower( $t_mp->priority() ) ];
Please check whats currently in the configuration option "Classify bug priorities".
By default it should be this

Code: Select all

'5 (lowest)' => '10',
'4 (low)' => '20',
'3 (normal)' => '30',
'2 (high)' => '40',
'1 (highest)' => '50',
5 => '20',
4 => '20',
3 => '30',
2 => '40',
1 => '50',
0 => '10',
'low' => '20',
'normal' => '30',
'high' => '40',
'' => '30',
'?' => '30',
Otherwise it might be that the email contains a priority which the system cannot handle. In which case i would need to change the code to handle that situation

What mail client and mail server software are you using?
nidhoeggr09

Re: "Complete Test" works, but cronjob doesn't

Post by nidhoeggr09 »

When i use the values you posted it finally works. Whats maybe interesting for you is, that i never changed these values. Per default, the following was set:

Code: Select all

1 => '1',
2 => '1',
3 => '1',
4 => '2',
5 => '2',
6 => '3',
7 => '1',
8 => '4',
9 => '3',
10 => '5',
11 => '5',
12 => '6',
13 => '4',
14 => '7',
15 => '2',
16 => '8',
17 => '5',
18 => '9',
19 => '2',
20 => '10',
21 => '6',
22 => '11',
23 => '3',
24 => '12',
25 => '7',
26 => '13',
27 => '1',
28 => '14',
29 => '8',
30 => '15',
31 => '4',
32 => '16',
33 => '9',
34 => '17',
35 => '3',
36 => '18',
37 => '10',
38 => '19',
39 => '5',
40 => '20',
41 => '11',
42 => '21',
43 => 'lowest',
44 => '22',
45 => '12',
46 => '23',
47 => '6',
48 => '24',
49 => '13',
50 => '25',
51 => '4',
52 => '26',
53 => '14',
54 => '27',
55 => '7',
56 => '28',
57 => '15',
58 => '29',
59 => '2',
60 => '30',
61 => '16',
62 => '31',
63 => '8',
64 => '32',
65 => '17',
66 => '33',
67 => '5',
68 => '34',
69 => '18',
70 => '35',
71 => '9',
72 => '36',
73 => '19',
74 => '37',
75 => '10',
76 => '38',
77 => '20',
78 => '39',
79 => '10',
80 => '40',
81 => '21',
82 => '41',
83 => '6',
84 => '42',
85 => '22',
86 => '43',
87 => '11',
88 => '44',
89 => '23',
90 => '45',
91 => '3',
92 => '46',
93 => '24',
94 => '47',
95 => '12',
96 => '48',
97 => '25',
98 => '49',
99 => '7',
100 => '50',
101 => '26',
102 => '51',
103 => '13',
104 => '52',
105 => '27',
106 => '53',
107 => '4',
108 => '54',
109 => '28',
110 => '55',
111 => '14',
112 => '56',
113 => '29',
114 => '57',
115 => '8',
116 => '58',
117 => '30',
118 => '59',
119 => '15',
120 => '60',
121 => '31',
122 => '61',
123 => '4',
124 => '62',
125 => '32',
126 => '63',
127 => '16',
128 => '64',
129 => '33',
130 => '65',
131 => '9',
132 => '66',
133 => '34',
134 => '67',
135 => '17',
136 => '68',
137 => '35',
138 => '69',
139 => 'low',
140 => '70',
141 => '36',
142 => '71',
143 => '18',
144 => '72',
145 => '37',
146 => '73',
147 => '10',
148 => '74',
149 => '38',
150 => '75',
151 => '19',
152 => '76',
153 => '39',
154 => '77',
155 => '5',
156 => '78',
157 => '40',
158 => '79',
159 => '20',
160 => '80',
161 => '41',
162 => '81',
163 => '11',
164 => '82',
165 => '42',
166 => '83',
167 => '21',
168 => '84',
169 => '43',
170 => '85',
171 => '20',
172 => '86',
173 => '44',
174 => '87',
175 => '22',
176 => '88',
177 => '45',
178 => '89',
179 => '12',
180 => '90',
181 => '46',
182 => '91',
183 => '23',
184 => '92',
185 => '47',
186 => '93',
187 => '6',
188 => '94',
189 => '48',
190 => '95',
191 => '24',
192 => '96',
193 => '49',
194 => '97',
195 => '13',
196 => '98',
197 => '50',
198 => '99',
199 => '25',
200 => '100',
201 => '51',
202 => '101',
203 => '3',
204 => '102',
205 => '52',
206 => '103',
207 => '26',
208 => '104',
209 => '53',
210 => '105',
211 => '14',
212 => '106',
213 => '54',
214 => '107',
215 => '27',
216 => '108',
217 => '55',
218 => '109',
219 => '7',
220 => '110',
221 => '56',
222 => '111',
223 => '28',
224 => '112',
225 => '57',
226 => '113',
227 => '15',
228 => '114',
229 => '58',
230 => '115',
231 => '29',
232 => '116',
233 => '59',
234 => '117',
235 => 'normal',
236 => '118',
237 => '60',
238 => '119',
239 => '30',
240 => '120',
241 => '61',
242 => '121',
243 => '16',
244 => '122',
245 => '62',
246 => '123',
247 => '31',
248 => '124',
249 => '63',
250 => '125',
251 => '8',
252 => '126',
253 => '64',
254 => '127',
255 => '32',
256 => '128',
257 => '65',
258 => '129',
259 => '17',
260 => '130',
261 => '66',
262 => '131',
263 => '33',
264 => '132',
265 => '67',
266 => '133',
267 => '30',
268 => '134',
269 => '68',
270 => '135',
271 => '34',
272 => '136',
273 => '69',
274 => '137',
275 => '18',
276 => '138',
277 => '70',
278 => '139',
279 => '35',
280 => '140',
281 => '71',
282 => '141',
283 => '9',
284 => '142',
285 => '72',
286 => '143',
287 => '36',
288 => '144',
289 => '73',
290 => '145',
291 => '19',
292 => '146',
293 => '74',
294 => '147',
295 => '37',
296 => '148',
297 => '75',
298 => '149',
299 => '2',
300 => '150',
301 => '76',
302 => '151',
303 => '38',
304 => '152',
305 => '77',
306 => '153',
307 => '20',
308 => '154',
309 => '78',
310 => '155',
311 => '39',
312 => '156',
313 => '79',
314 => '157',
315 => '10',
316 => '158',
317 => '80',
318 => '159',
319 => '40',
320 => '160',
321 => '81',
322 => '161',
323 => '21',
324 => '162',
325 => '82',
326 => '163',
327 => '41',
328 => '164',
329 => '83',
330 => '165',
331 => 'high',
332 => '166',
333 => '84',
334 => '167',
335 => '42',
336 => '168',
337 => '85',
338 => '169',
339 => '22',
340 => '170',
341 => '86',
342 => '171',
343 => '43',
344 => '172',
345 => '87',
346 => '173',
347 => '11',
348 => '174',
349 => '88',
350 => '175',
351 => '44',
352 => '176',
353 => '89',
354 => '177',
355 => '23',
356 => '178',
357 => '90',
358 => '179',
359 => '45',
360 => '180',
361 => '91',
362 => '181',
363 => '40',
364 => '182',
365 => '92',
366 => '183',
367 => '46',
368 => '184',
369 => '93',
370 => '185',
371 => '24',
372 => '186',
373 => '94',
374 => '187',
375 => '47',
376 => '188',
377 => '95',
378 => '189',
379 => '12',
380 => '190',
381 => '96',
382 => '191',
383 => '48',
384 => '192',
385 => '97',
386 => '193',
387 => '25',
388 => '194',
389 => '98',
390 => '195',
391 => '49',
392 => '196',
393 => '99',
394 => '197',
395 => '1',
396 => '198',
397 => '100',
398 => '199',
399 => '50',
400 => '200',
401 => '101',
402 => '201',
403 => '26',
404 => '202',
405 => '102',
406 => '203',
407 => '51',
408 => '204',
409 => '103',
410 => '205',
411 => '13',
412 => '206',
413 => '104',
414 => '207',
415 => '52',
416 => '208',
417 => '105',
418 => '209',
419 => '27',
420 => '210',
421 => '106',
422 => '211',
423 => '53',
424 => '212',
425 => '107',
426 => '213',
427 => 'highest',
428 => '214',
429 => '108',
430 => '215',
431 => '54',
432 => '216',
433 => '109',
434 => '217',
435 => '28',
436 => '218',
437 => '110',
438 => '219',
439 => '55',
440 => '220',
441 => '111',
442 => '221',
443 => '14',
444 => '222',
445 => '112',
446 => '223',
447 => '56',
448 => '224',
449 => '113',
450 => '225',
451 => '29',
452 => '226',
453 => '114',
454 => '227',
455 => '57',
456 => '228',
457 => '115',
458 => '229',
459 => '50',
460 => '230',
461 => '116',
462 => '231',
463 => '58',
464 => '232',
465 => '117',
466 => '233',
467 => '30',
468 => '234',
469 => '118',
470 => '235',
471 => '59',
472 => '236',
473 => '119',
474 => '237',
475 => '15',
476 => '238',
477 => '120',
478 => '239',
479 => '60',
480 => '240',
481 => '121',
482 => '241',
483 => '31',
484 => '242',
485 => '122',
486 => '243',
487 => '61',
488 => '244',
489 => '123',
490 => '245',
491 => '5',
492 => '246',
493 => '124',
494 => '247',
495 => '62',
496 => '248',
497 => '125',
498 => '249',
499 => '32',
500 => '250',
501 => '126',
502 => '251',
503 => '63',
504 => '252',
505 => '127',
506 => '253',
507 => '16',
508 => '254',
509 => '128',
510 => '255',
511 => '64',
512 => '256',
513 => '129',
514 => '257',
515 => '33',
516 => '258',
517 => '130',
518 => '259',
519 => '65',
520 => '260',
521 => '131',
522 => '261',
523 => '20',
524 => '262',
525 => '132',
526 => '263',
527 => '66',
528 => '264',
529 => '133',
530 => '265',
531 => '34',
532 => '266',
533 => '134',
534 => '267',
535 => '67',
536 => '268',
537 => '135',
538 => '269',
539 => '17',
540 => '270',
541 => '136',
542 => '271',
543 => '68',
544 => '272',
545 => '137',
546 => '273',
547 => '35',
548 => '274',
549 => '138',
550 => '275',
551 => '69',
552 => '276',
553 => '139',
554 => '277',
555 => '4',
556 => '278',
557 => '140',
558 => '279',
559 => '70',
560 => '280',
561 => '141',
562 => '281',
563 => '36',
564 => '282',
565 => '142',
566 => '283',
567 => '71',
568 => '284',
569 => '143',
570 => '285',
571 => '18',
572 => '286',
573 => '144',
574 => '287',
575 => '72',
576 => '288',
577 => '145',
578 => '289',
579 => '37',
580 => '290',
581 => '146',
582 => '291',
583 => '73',
584 => '292',
585 => '147',
586 => '293',
587 => '20',
588 => '294',
589 => '148',
590 => '295',
591 => '74',
592 => '296',
593 => '149',
594 => '297',
595 => '38',
596 => '298',
597 => '150',
598 => '299',
599 => '75',
600 => '300',
601 => '151',
602 => '301',
603 => '19',
604 => '302',
605 => '152',
606 => '303',
607 => '76',
608 => '304',
609 => '153',
610 => '305',
611 => '39',
612 => '306',
613 => '154',
614 => '307',
615 => '77',
616 => '308',
617 => '155',
618 => '309',
619 => '3',
620 => '310',
621 => '156',
622 => '311',
623 => '78',
624 => '312',
625 => '157',
626 => '313',
627 => '40',
628 => '314',
629 => '158',
630 => '315',
631 => '79',
632 => '316',
633 => '159',
634 => '317',
635 => '20',
636 => '318',
637 => '160',
638 => '319',
639 => '80',
640 => '320',
641 => '161',
642 => '321',
643 => '41',
644 => '322',
645 => '162',
646 => '323',
647 => '81',
648 => '324',
649 => '163',
650 => '325',
651 => '30',
652 => '326',
653 => '164',
654 => '327',
655 => '82',
656 => '328',
657 => '165',
658 => '329',
659 => '42',
660 => '330',
661 => '166',
662 => '331',
663 => '83',
664 => '332',
665 => '167',
666 => '333',
667 => '21',
668 => '334',
669 => '168',
670 => '335',
671 => '84',
672 => '336',
673 => '169',
674 => '337',
675 => '43',
676 => '338',
677 => '170',
678 => '339',
679 => '85',
680 => '340',
681 => '171',
682 => '341',
683 => '2',
684 => '342',
685 => '172',
686 => '343',
687 => '86',
688 => '344',
689 => '173',
690 => '345',
691 => '44',
692 => '346',
693 => '174',
694 => '347',
695 => '87',
696 => '348',
697 => '175',
698 => '349',
699 => '22',
700 => '350',
701 => '176',
702 => '351',
703 => '88',
704 => '352',
705 => '177',
706 => '353',
707 => '45',
708 => '354',
709 => '178',
710 => '355',
711 => '89',
712 => '356',
713 => '179',
714 => '357',
715 => '40',
716 => '358',
717 => '180',
718 => '359',
719 => '90',
720 => '360',
721 => '181',
722 => '361',
723 => '46',
724 => '362',
725 => '182',
726 => '363',
727 => '91',
728 => '364',
729 => '183',
730 => '365',
731 => '23',
732 => '366',
733 => '184',
734 => '367',
735 => '92',
736 => '368',
737 => '185',
738 => '369',
739 => '47',
740 => '370',
741 => '186',
742 => '371',
743 => '93',
744 => '372',
745 => '187',
746 => '373',
747 => '1',
748 => '374',
749 => '188',
750 => '375',
751 => '94',
752 => '376',
753 => '189',
754 => '377',
755 => '48',
756 => '378',
757 => '190',
758 => '379',
759 => '95',
760 => '380',
761 => '191',
762 => '381',
763 => '24',
764 => '382',
765 => '192',
766 => '383',
767 => '96',
768 => '384',
769 => '193',
770 => '385',
771 => '49',
772 => '386',
773 => '194',
774 => '387',
775 => '97',
776 => '388',
777 => '195',
778 => '389',
779 => '50',
780 => '390',
781 => '196',
782 => '391',
783 => '98',
784 => '392',
785 => '197',
786 => '393',
787 => '50',
788 => '394',
789 => '198',
790 => '395',
791 => '99',
792 => '396',
793 => '199',
794 => '397',
795 => '26',
796 => '398',
797 => '200',
798 => '399',
799 => '100',
800 => '400',
801 => '201',
802 => '401',
803 => '51',
804 => '402',
805 => '202',
806 => '403',
807 => '101',
808 => '404',
809 => '203',
810 => '405',
811 => '10',
812 => '406',
813 => '204',
814 => '407',
815 => '102',
816 => '408',
817 => '205',
818 => '409',
819 => '52',
820 => '410',
821 => '206',
822 => '411',
823 => '103',
824 => '412',
825 => '207',
826 => '413',
827 => '27',
828 => '414',
829 => '208',
830 => '415',
831 => '104',
832 => '416',
833 => '209',
834 => '417',
835 => '53',
836 => '418',
837 => '210',
838 => '419',
839 => '105',
840 => '420',
841 => '211',
842 => '421',
843 => 'low',
844 => '422',
845 => '212',
846 => '423',
847 => '106',
848 => '424',
849 => '213',
850 => '425',
851 => '54',
852 => '426',
853 => '214',
854 => '427',
855 => '107',
856 => '428',
857 => '215',
858 => '429',
859 => '28',
860 => '430',
861 => '216',
862 => '431',
863 => '108',
864 => '432',
865 => '217',
866 => '433',
867 => '55',
868 => '434',
869 => '218',
870 => '435',
871 => '109',
872 => '436',
873 => '219',
874 => '437',
875 => '20',
876 => '438',
877 => '220',
878 => '439',
879 => '110',
880 => '440',
881 => '221',
882 => '441',
883 => '56',
884 => '442',
885 => '222',
886 => '443',
887 => '111',
888 => '444',
889 => '223',
890 => '445',
891 => '29',
892 => '446',
893 => '224',
894 => '447',
895 => '112',
896 => '448',
897 => '225',
898 => '449',
899 => '57',
900 => '450',
901 => '226',
902 => '451',
903 => '113',
904 => '452',
905 => '227',
906 => '453',
907 => 'normal',
908 => '454',
909 => '228',
910 => '455',
911 => '114',
912 => '456',
913 => '229',
914 => '457',
915 => '58',
916 => '458',
917 => '230',
918 => '459',
919 => '115',
920 => '460',
921 => '231',
922 => '461',
923 => '30',
924 => '462',
925 => '232',
926 => '463',
927 => '116',
928 => '464',
929 => '233',
930 => '465',
931 => '59',
932 => '466',
933 => '234',
934 => '467',
935 => '117',
936 => '468',
937 => '235',
938 => '469',
939 => '30',
940 => '470',
941 => '236',
942 => '471',
943 => '118',
944 => '472',
945 => '237',
946 => '473',
947 => '60',
948 => '474',
949 => '238',
950 => '475',
951 => '119',
952 => '476',
953 => '239',
954 => '477',
955 => '31',
956 => '478',
957 => '240',
958 => '479',
959 => '120',
960 => '480',
961 => '241',
962 => '481',
963 => '61',
964 => '482',
965 => '242',
966 => '483',
967 => '121',
968 => '484',
969 => '243',
970 => '485',
971 => 'high',
972 => '486',
973 => '244',
974 => '487',
975 => '122',
976 => '488',
977 => '245',
978 => '489',
979 => '62',
980 => '490',
981 => '246',
982 => '491',
983 => '123',
984 => '492',
985 => '247',
986 => '493',
987 => '32',
988 => '494',
989 => '248',
990 => '495',
991 => '124',
992 => '496',
993 => '249',
994 => '497',
995 => '63',
996 => '498',
997 => '250',
998 => '499',
999 => '125',
1000 => '500',
1001 => '251',
1002 => '501',
1003 => '40',
1004 => '502',
1005 => '252',
1006 => '503',
1007 => '126',
1008 => '504',
1009 => '253',
1010 => '505',
1011 => '64',
1012 => '506',
1013 => '254',
1014 => '507',
1015 => '127',
1016 => '508',
1017 => '255',
1018 => '509',
1019 => '33',
1020 => '510',
1021 => '256',
1022 => '511',
1023 => '128',
1024 => '512',
1025 => '257',
1026 => '513',
1027 => '65',
1028 => '514',
1029 => '258',
1030 => '515',
1031 => '129',
1032 => '516',
1033 => '259',
1034 => '517',
1035 => '30',
1036 => '518',
1037 => '260',
1038 => '519',
1039 => '130',
1040 => '520',
1041 => '261',
1042 => '521',
1043 => '66',
1044 => '522',
1045 => '262',
1046 => '523',
1047 => '131',
1048 => '524',
1049 => '263',
1050 => '525',
1051 => '34',
1052 => '526',
1053 => '264',
1054 => '527',
1055 => '132',
1056 => '528',
1057 => '265',
1058 => '529',
1059 => '67',
1060 => '530',
1061 => '266',
1062 => '531',
1063 => '133',
1064 => '532',
1065 => '267',
1066 => '533',
1067 => '30',
The mail account i'm using is Gmail and i am also using the webinterface from Gmail/Google. The subject of the mail was "Finally it works!".

Thank you very much for your patience and your help!
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: "Complete Test" works, but cronjob doesn't

Post by SL-Gundam »

It's really weird that you've had different default values for this configuration option
Will need to keep an eye on that

Based on your experiences I've updated EmailReporting

https://github.com/mantisbt-plugins/Ema ... 76cba29e6a
https://github.com/mantisbt-plugins/Ema ... 765466a79b
https://www.mantisbt.org/wiki/doku.php/ ... lreporting

Hopefully this will be useful for other people as well

Good luck and i hope you don't encounter any further issues. If you do though, please let us know
Post Reply