Add more mailbox for Email Reporting Plugin

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

Moderators: Developer, Contributor

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 03, 2017 8:46 am

Hello,

I was trying to add and configure more than 1 mail for Email Reporting. Is this possible ?

Thank You

Ancy
Posts: 46
Joined: Jun 30, 2017 6:10 am

Re: Add more mailbox for Email Reporting Plugin

Post by Ancy » Oct 04, 2017 3:48 am

Yes, it is possible. But your mailbox should be of imap not pop3

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 04, 2017 8:52 am

Well actually its possible with both. You can process as many mailboxes as you wish with EmailReporting

For IMAP you can process other folders besides the INBOX folder.

See the explanation here: https://www.mantisbt.org/wiki/doku.php/ ... ilbox_type

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 05, 2017 8:11 am

So, i have already one mailbox. I just need to click on ADD ?

Thank You
Attachments
Capture.JPG
Capture.JPG (28.02 KiB) Viewed 8385 times

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 05, 2017 8:29 am

I tried and now i have:

pear_error: message="NO, LOGIN failed." code=0 mode=return level=notice prefix="" info=""

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 05, 2017 12:12 pm

I suggest you use "copy" since i expect the mailbox configurations are pretty similar.

adjust the mailbox settings as needed

The process for adding a new mailbox is as follows
  1. In the screenshot select add
  2. Click on select mailbox
  3. Fill the mailbox settings as required
  4. Click on "Add" to add the mailbox to EmailReporting

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 06, 2017 7:01 am

Thank You. I followed your steps but i have error when i try to TEST it
Attachments
Capture.JPG
Capture.JPG (32.96 KiB) Viewed 8357 times

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 06, 2017 1:14 pm

The error says that the login failed. Which means that the username password combination given is likely incorrect.

I suggest you check that

What mail server software are you using?

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 09, 2017 2:56 am

Hello,

We are using Exchange

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 09, 2017 9:15 am

have you tried using IMAP with a normal mail client to see if it works?

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 16, 2017 5:26 am

I have already configured another IMAP mail from exchange and it's working. I was thinking if i need to include the new mailbox+password into the config_inc.php ?

For the moment i have only one entry:

$g_smtp_username =
$g_smtp_password =

thnx

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 16, 2017 1:33 pm

Thats only necessary to send the notifications emails from MantisBT. It has nothing to do with EmailReporting
It is important that people answering the MantisBT notification email are sending those emails to a mailbox monitored by EmailReporting. This can be any mailbox. If EmailReporting can match an email to an existing ticket it will always do this no matter what mailbox the email was received on

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Oct 17, 2017 8:22 am

HEllo

It's working. The strange fact is that if we do a test we have the error message but the issued are created

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

Re: Add more mailbox for Email Reporting Plugin

Post by SL-Gundam » Oct 17, 2017 12:51 pm

Thats really weird since the login happens before actual email retrieval

You might wanna enable debug mode do the test again
If needed post the output here so that we can look at it together

NandoNaldo
Posts: 121
Joined: Mar 09, 2016 4:44 pm

Re: Add more mailbox for Email Reporting Plugin

Post by NandoNaldo » Nov 07, 2017 5:09 am

I had another doubt: Is ther any way to separate the Delete processed email from the mailbox for each mailbox ?

I noticed that this option is for the plugin, but if i want to delete only one of the mailbox and leave the other one configured ?

Is this possible ?

Thank You in advance

Post Reply