Exchange Mail report not working

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

Moderators: Developer, Contributor

Post Reply
Xvo
Posts: 2
Joined: 08 Jul 2013, 15:08

Exchange Mail report not working

Post by Xvo »

Hello,

I havent seen this problem in the history pages of this section, therefor im making a new thread.

I have got Mantis 1.2.15 running well for some time now. Without any problems.
However i have just added the Email Reporting 0.9.0-DEV Plugin.

As in most of the explanations here on the forum i started by trying with a gmail account setup. That works without any problems. I can send an email to that account and Mantis will create a report based on it.

However when i try to use an email adress that we got running on the Exchange Server of our LocaL domain it does not seem to work.
The settings i use are the same i use on my Telephone to connect to the Exchange:

Description - Mantis Mail
Mailbox Type - IMAP
Hostname - mail.company.com
Connection Encryption - SSL
Username - Mantis
Password - ***************
Authentication Method - Login

Now when i run complete test or pickup script i get: Message: Failed to connect to the mail server.

If i use the same settings except:

Connection Encryption - NONE

Then i get this:

Mailbox: Mantis Mail
Location: Retrieve number of messages
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]

Would anyone happen to know what is going wrong?

Thanks in advance.
Xvo
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Exchange Mail report not working

Post by SL-Gundam »

IMAP is something which i'm still checking against a Exchange server. I've had some issues with this before

Please try with encryption set to "None". EmailReporting will check what the IMAP server supports and will use STARTTLS if supported for encryption
Xvo
Posts: 2
Joined: 08 Jul 2013, 15:08

Re: Exchange Mail report not working

Post by Xvo »

Thanks for your quick reply,

I have tested it with encryption said to none. Then when running complete test i get:

Operation successful

But on the top left i get:
Mailbox: Mantis Mail
Location: Retrieve number of messages
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""

This is also the message i get when running the getmail scripts
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Exchange Mail report not working

Post by SL-Gundam »

I did some debugging on this and apparently IMAP for Exhange returns a different result compared to most other IMAP servers.

The Net_IMAP PEAR package seems to have issues handling this.

I will be investigating this further but for the moment IMAP for exchange will be non functional. If possible please use POP3
Post Reply