View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007086 | Plugin - EmailReporting | General | public | 2006-05-15 07:24 | 2015-10-30 03:29 |
Reporter | drostan | Assigned To | SL-Gundam | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0007086: Mantis email via IMAP + folders | ||||
Description | It would be great if Mantis can access an email account through IMAP, and then take mail for various projects from folders in the mail account. That way, it's easy to just file the messages in the right folder from a general helpdesk account (mail client), and have them assigned to the right project. | ||||
Additional Information | Could perhaps be based on project name in a specific subfolder of the IMAP account; if the folder doesn't exist, just skip. Or the option to create the folder together with creation of the project. Related to: | ||||
Tags | close_me, patch | ||||
Attached Files | |||||
related to | 0004286 | closed | SL-Gundam | Plugin - EmailReporting | Solution for reporting via E-Mail |
related to | 0001568 | closed | grangeway | mantisbt | Abillity to send mail to mantis adding bugs and bugnotes |
related to | 0003320 | closed | grangeway | mantisbt | Email ability |
related to | 0008984 | closed | SL-Gundam | Plugin - EmailReporting | Adding notes to existing bug via email |
php5 has the ability to connect using pop3 and imap (as described at http://de2.php.net/manual/en/ref.imap.php) through an extension dll. Question to the community: |
|
hi Brody, We're using Net_IMAP and our own version of code (derived from the POP3 code, but using a single IMAP account). I'll attach it to this issue. Regards, Rolf (PS: the reporter of this issue, 'drostan', is my previous id here) |
|
Hi Rolf, great - thanks a lot for your support. I'll take a look at it, if I could get it running. I read the readme inside your zip archive and it seems to me that it would be also my solution (or something like a basis). I'll keep you (and the community) posted through additional notes at this issue Wolfgang |
|
Looking forward to it! Maybe one day have a complete IMAP + SMTP + SIEVE filters management plugin for complete email integration :-) |
|
Hoho Rolf :-) I got your IMAP-solution running on my system. Because of less time through a lot of customer support doings, I was only just the last days able to integrate this package into my system - with success. One thing might be interesting for the community - you wrote that you use the NET_IMAP package; please let me add, that it must be the last release package (Net_IMAP-1.0.3.tgz), not the also available 1.1.0beta package. Wolfgang |
|
Great to hear it's of use, Wolfgang :-) and thanks for the Net_IMAP version details! |
|
@rolfkleef, did you consider making this a 1.2.x plugin? I haven't looked at the implementation, but a plugin is a good approach for Mail2MantisBT gateways. |
|
hi Victor, no, not considered it yet (still need to upgrade to 1.2.x, haven't looked at the plugin architecture) I agree it's probably the best way forward, so if anyone reading this already wants to have a go at it... |
|
Hi I'm the one who is currently maintaining the EmailReporting plugin in 0004286 I've added IMAP functionality based on Rolf Kleefs work to the EmailReporting plugin in: MantisBT-1.2.0rc2_plugin_EmailReporting-0.7.0.rar The latest note with the changelog for the above version can be found here: 0004286:0023837 SL-Gundam |
|
That's really cool, SL-Gundam, thanks! Time to close this issue :-) |
|
Hello, As described I copied the bug_report_mail_imap.php into the main folder and $g_mail_imap_account_host = "host.imap.de" Then I created a cronjob. Actually I got one message: "Bad connection: could not find mail_api.php" What went wrong? Kind regards, bolshi |
|
Hi bolshi, can you specify more exactly what you tried to do? the "bad connection" part of your message doesn't seem to come from Mantis. Rolf. |
|
Hi Rolf, That's what we get if we test the connection: Operation NOT successful Mailbox description: mantis request via IMAP [pear_error: message=", " code=0 mode=return level=notice prefix="" info=""] We set an imap folder 'to_mantis' within Thunderbird. SL-Gundam said the problem comes from cronjob. I couldn't find a description to define it. Regards, Ingo |
|
Hi there, Ingo |
|
We just updated mantis to 1.2. And I successfully installed the EmailReporting plugin connecting to our microsoft exchange mail server. I just wanted to let you I'm happy with the plugin but I had a hard time to get it up and running with IMAP. When I use 'Inbox' as the IMAP basefolder it does report issues form emails but these aren't the new emails arrived in the inbox. I can't figure out from where the EmailReporting plugin read it's e-mail, because the mailbox I used to test contains serveral folders (inside in inbox) and the inbox it self contains about 3500 e-mails. But it reads an email from somewhere and creates an issue for it. I would like to be able to read the e-mail from the Inbox straight away do you have any idea how to get that to work? |
|
I tested some more and tried some emails with attachments. Is the EmailReporting plugin able to handle attachments and add them to the new created issue? I hope you can help me with my issues, especially the attachments is a requirement for our support system to work :-). |
|
IMAP and the mail delete feature don't work well together in 0.7.9 and earlier versions. That should be fixed in 0.8.0 which i'm working on now I will investigate the problems with assigning the IMAP basefolder to inbox. But depending on whether you enabled the creation of the project subfolder structure, the inbox folder will be ignored and it will create and read emails from subfolders that have the same name as the projects that are available in mantis. Why not just use POP3. That protocol allways reads the inbox? Attachments are supported. But it highly depends on several settings within the mantisbt core. For example the plugin adheres to the minimum and maximum size thats allowed for plugins and file types which are not allowed by the settings will be ignored. SL-Gundam |
|
@SL-Gundam, Thanks for the feedback i will dive in the mantisbt core to figure out the it's configuration regarding attachments. About the POP3 option, I already asked our system adminstrator but he had his reasons not to enable POP3 but I will try again :-). Good luck with the further implementation. |
|
Well if you look at 0004286 you will find out that 0.8.0 has been released. The basefolder setting is now optional. If you leave it empty it should select the inbox folder |
|