Hi,
I'm using 0.9.0-DEV and my developers are using MS Outlook.
I'm hitting an issue where "-----Original Message-----" doesn't appear in HTML formatted emails. So if you're creating a note, the entire email chain is included in the note, unless you perform a manual conversion/formatting. Is it possible to somehow parse the entire email, realize which lines are new, and only add those new lines to the note? Perhaps there's another known solution?
The second issue is that if you send an HTML email, I have entities like < > ’ that are still appearing in the issue/note. For some reason they're not all stripped out.
Thanks!
html processing from outlook
Moderators: Developer, Contributor
Re: html processing from outlook
Yeah html emails are a big issue as MantisBT cannot handle most of the markup content in it which is why EmailReporting does its best to convert it to plaintext
EmailReporting uses simple_html_dom for that.
If you have a Microsoft Exchange server you can modify the MantisBT mailbox configuration so that only plaintext emails can be retrieved by EmailReporting (Check bullet 7 here: https://technet.microsoft.com/en-us/library/bb676455). That fixed most of the issues for me
First issue: Somebody ones created a patch for EmailReporting that found duplicated content and tried to remove it but it was only compatible with MySQL so it was not included with the basecode of EmailReporting. Don't know what happened with that though... So at the moment this functionality is not available. Please report the issue here https://www.mantisbt.org/bugs/ and we will see about adding that feature. EmailReporting itself always tries to find a plaintext version of the email as its quite normal that emails contain 2 versions (html and plaintext) but exchange does not do that for internal pop3 by default
Second issue: Please report the issue here https://www.mantisbt.org/bugs/. Please include a EmailReporting debug dump of the email in question that has the issue so that i can find the problem and hopefully fix it
Please use the correct project for reporting the issue on https://www.mantisbt.org/bugs/
EmailReporting uses simple_html_dom for that.
If you have a Microsoft Exchange server you can modify the MantisBT mailbox configuration so that only plaintext emails can be retrieved by EmailReporting (Check bullet 7 here: https://technet.microsoft.com/en-us/library/bb676455). That fixed most of the issues for me
First issue: Somebody ones created a patch for EmailReporting that found duplicated content and tried to remove it but it was only compatible with MySQL so it was not included with the basecode of EmailReporting. Don't know what happened with that though... So at the moment this functionality is not available. Please report the issue here https://www.mantisbt.org/bugs/ and we will see about adding that feature. EmailReporting itself always tries to find a plaintext version of the email as its quite normal that emails contain 2 versions (html and plaintext) but exchange does not do that for internal pop3 by default
Second issue: Please report the issue here https://www.mantisbt.org/bugs/. Please include a EmailReporting debug dump of the email in question that has the issue so that i can find the problem and hopefully fix it
Please use the correct project for reporting the issue on https://www.mantisbt.org/bugs/
Last edited by SL-Gundam on 11 Dec 2015, 17:10, edited 1 time in total.
-
- Posts: 4
- Joined: 13 Nov 2015, 21:05
Re: html processing from outlook
That worked! Good workaround. Thanks!If you have a Microsoft Exchange server you can modify the MantisBT mailbox configuration so that only plaintext emails can be retrieved by EmailReporting (Check bullet 7 here: https://technet.microsoft.com/en-us/lib ... =exchg.141).aspx). That fixed most of the issues for me