No EmailReportin shows Tickets

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

Moderators: Developer, Contributor

Post Reply
lhenao
Posts: 3
Joined: 15 Sep 2015, 21:57

No EmailReportin shows Tickets

Post by lhenao »

Hello everybody

At this time install MantisBT "MantisBT-1.2.19" and plug-0.9.0-DEVversion EmailReporting, I configured the mail data in the Manage Mailboxes, validating data and these are correct.

then valid for the option "Manage Configuration Options" on these links:
1. /mantisbt-1.2.19/plugins/EmailReporting/scripts/bug_report_mail.php
2. /mantisbt-1.2.19/plugin.php?page=EmailReporting/bug_report_mail

Gives the following message:

Start checking all mailboxes: Tuesday 15th of September 2015 17:21:53

Debug output memory usage
Location: Mail API - Finished __construct
Current memory usage: 7.14 MiB / -1
Peak memory usage: 7.15 MiB / -1
Current actual memory usage: 7.25 MiB / -1
Real Peak memory usage: 7.25 MiB / -1
array (13) {
["Enabled"] =>
int (1)
["Description"] =>
string (19) "XXXX@XXXX.com"
["Mailbox_type"] =>
string (4) "IMAP"
["Hostname"] =>
string (14) "smtp.gmail.com"
["Port"] =>
int (993)
["Encryption"] =>
string (3) "SSL"
["Erp_username"] =>
string (19) "XXXX@XXXXX.com"
["Erp_password"] =>
string (12) "TGVocjEyNzk ="
["Auth_method"] =>
string (4) "USER"
["Project_id"] =>
int (1)
["Global_category_id"] =>
int (2)
["Imap_basefolder"] =>
string (0) ""
["Imap_createfolderstructure"] =>
int (1)
}
Debug output memory usage
Location: Mail API - Start process mailbox
Current memory usage: 7.14 MiB / -1
Peak memory usage: 7.15 MiB / -1
Current actual memory usage: 7.25 MiB / -1
Real Peak memory usage: 7.25 MiB / -1
Debug output memory usage
Location: Mail API - Finished process mailbox
Current memory usage: 7.16 MiB / -1
Peak memory usage: 7.2 MiB / -1
Current actual memory usage: 7.25 MiB / -1
Real Peak memory usage: 7.25 MiB / -1


Done checking all mailboxes "

This seems to revise the mail signed, and tickets processed for re sending mail but still in the inbox, not shown tickects tray incidents mantis ...

Although I have sent several emails for testing and these tickets become ... nothing happens ... that can happen ?? Some settings in the file bug_report_mail ???

It is unclear Schedule settings or cronjob could help me with this issue ??? Mantis is installed on OS. Win 7 and the Xampp server php version 1.8.3 and 5.5.9

Thank you for your help
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: No EmailReportin shows Tickets

Post by SL-Gundam »

With its current settings EmailReporting should create a project folder structure under your INBOX folder. It will process emails that are in the project folders, not in your INBOX folder

It might have failed creating those folders...

I've added some extra error handling to EmailReporting: https://github.com/mantisbt-plugins/Ema ... 2b8c482a13
lhenao
Posts: 3
Joined: 15 Sep 2015, 21:57

Re: No EmailReportin shows Tickets

Post by lhenao »

Thank SL-Gundam

Check the settings of "Manage Configuration Options" and type the code that you added in the "core / mail_api.php" This helped me find the problem .. file and I can see the tickets in mantis moved by the pluggin.

Thanks for answering. :D :D
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: No EmailReportin shows Tickets

Post by SL-Gundam »

Just so you know. I modified the encryption part towards gmail since PHP 5.6 now tries to verify the SSL certificate which fails... for me at least

https://github.com/mantisbt-plugins/Ema ... d03644196d
Post Reply