IMAP revisited
Posted: 10 Aug 2011, 14:38
Hello,
we just spent a day trying to configure Email reporting and are halfway there. We run Mantis 1.2.3 and Email Reporting 0.8.4 towards Exchange 2010. And yes, I have read the previous posts in this forum.
First , documentation is very sparse (expecially for those not dealing with email and authentication protocols for a living), but should I ever get this running I promise to write a users guide (with screenshots) for the undiscerning user. Promised.
The goal is not too ambitious: In my Outlook I would like to d&d a mail to a specific folder. The mail should then quickly appear in the correct project. If a bug id is found the mail should be attached as a bugnote and the attachments uploaded. If not, a new issue should be created and the attachments uploaded.
We have around 25 projects, so I do not want one mailbox per project. So I choose IMAP for soon to learn that MS has abandoned IMAP support for public folders in 2010. I created an account and - lo and behold - after a few tweaks EmailReporting would take the specified Inbox/mantis as the basefolder and create subfolders for the existing projects. That is how far I am.
I posted a mail in one of the projects with an existing bug id in the subject. When I run 'php.exe -q bug_report_mail.php I get all sorts of protocol errors of which I add an excerpt for the disposed reader:
-----------------------------------------------------
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000168 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000168' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000171 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000171' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000174 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000174' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
Done checking all mailboxes
--------------------------------
The mail is still there and no bugnote has been created. The two seem to not agree on which languahe to speak. After some research my finding are
1. What I want is currently NOT possible in my configuration
2. In 0.8.4 the IMAP access with Exchange 2010 is broken
3. There are plans to use another IMAP package in 0.9
4. I have to upgrade to Mantis 1.2.6
Is this correct? When is the planned release of 0.9 ?
Kind regards,
/Gerold
we just spent a day trying to configure Email reporting and are halfway there. We run Mantis 1.2.3 and Email Reporting 0.8.4 towards Exchange 2010. And yes, I have read the previous posts in this forum.
First , documentation is very sparse (expecially for those not dealing with email and authentication protocols for a living), but should I ever get this running I promise to write a users guide (with screenshots) for the undiscerning user. Promised.
The goal is not too ambitious: In my Outlook I would like to d&d a mail to a specific folder. The mail should then quickly appear in the correct project. If a bug id is found the mail should be attached as a bugnote and the attachments uploaded. If not, a new issue should be created and the attachments uploaded.
We have around 25 projects, so I do not want one mailbox per project. So I choose IMAP for soon to learn that MS has abandoned IMAP support for public folders in 2010. I created an account and - lo and behold - after a few tweaks EmailReporting would take the specified Inbox/mantis as the basefolder and create subfolders for the existing projects. That is how far I am.
I posted a mail in one of the projects with an existing bug id in the subject. When I run 'php.exe -q bug_report_mail.php I get all sorts of protocol errors of which I add an excerpt for the disposed reader:
-----------------------------------------------------
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000168 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000168' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000171 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000171' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
' '!!!! (getting the next line)|STR:|
A000174 OK STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'A000174' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'OK'!!!! (getting the next line)|STR:| STATUS completed.
|
2871,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:must be a but is a 'STATUS' !!!!
2903,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:bogus response!!!! (COMMAND: )
2915,D:\Mantis\plugins\EmailReporting\core\Net\IMAPProtocol_1.0.3.php,PROTOCOL ERROR!:PARSE ERROR!!! must be a '\r\n' here but is a
'COMPLETED.'!!!! (getting the next line)|STR:|
|
Mailbox: Temporary Storage for E-Mail cases
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
Done checking all mailboxes
--------------------------------
The mail is still there and no bugnote has been created. The two seem to not agree on which languahe to speak. After some research my finding are
1. What I want is currently NOT possible in my configuration
2. In 0.8.4 the IMAP access with Exchange 2010 is broken
3. There are plans to use another IMAP package in 0.9
4. I have to upgrade to Mantis 1.2.6
Is this correct? When is the planned release of 0.9 ?
Kind regards,
/Gerold