Outlook Message doesn't load.
Hi!
I converted several PST files to import into MailPiler(Using libpst) and some messages doesn't appear in the web UI. If I download as EML it opens normally.
I attached a message as example. Try to import and open in the web UI, nothing shows.
It seems to be a problem parsing the HTML from Outlook(Actually, Word).
Thanks.
Comments (14)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
Account Deleted Hi!
Sorry, my description about the bug was not as obvious as it should.
The message is indexed normally, when I choose it in the list(After a search), it will show the header, but the messages appears blank. I can download it as eml, see the headers, restore to mailbox. But it does that display. As long as I could check, it seems to be a problem in the office condicional directives, like [if mso]...
-
Account Deleted *It doesn't display...
-
repo owner OK, thanks for the clarification, I'll check the attached message.
-
Account Deleted I Attached how I see the message, and the response from the message.php(When the UI is requesting this message).
This is the response from the server when I click the message(http://mailpiler.xxxxx.xxx.xx/message.php) As you can seen in the highlight, the statement "<!--[if !mso]>" may be causing the issue....
<div id="restorebox" class="alert alert-general"> <input type="checkbox" class="restorebox" id="rcpt_user@email.com" name="rcpt_user@email.com" value="1" /> user@email.com<br /> <input type="checkbox" class="restorebox" id="rcpt_email2@email.com" name="rcpt_email2@email.com" value="1" /> email2@email.com<br /> <br /> <input type="button" id="restore_button" name="restore_button" value="Restore" class="btn btn-primary" onclick="Piler.restore_message_for_recipients(232240, 'Restored', 'Select recipients');" /> <input type="button" value="Cancel" class="btn btn-inverse" onclick="$('#restorebox').hide();" /> </div> <div class="messageheader"> <p> <a class="messagelink" href="index.php?route=message/download&id=232240"><i class="icon-cloud-download"></i> Download (EML)</a> | <a class="messagelink" href="#" onclick="$('#restorebox').show();"><i class="icon-reply"></i> Restore to mailbox</a> | <a class="messagelink" href="#" onclick="Piler.view_headers(232240);"><i class="icon-envelope-alt"></i> View headers</a> | <a href="#" onclick="Piler.print_div('messageblock');"><i class="icon-print"></i> Print</a> Message is Verified <i class="verified icon-ok-sign icon-large" title="Message is Verified"></i> </p> </div> <div id="notesbox" class="input-prepend input-append"> <span class="add-on"><i class="icon-file-alt icon-large"></i> Notes:</span> <input type="text" size="60" id="note" name="note" class="mynote" value="" /> <input type="button" class="btn btn-info" value="Save" class="message_button" onclick="Piler.add_note_to_message(232240, 'Saved'); " /> </div> <div id="messageblock"> <div class="messageheader"> <strong>Subject: XXXXXXXXXXXXXXXXXXX</strong><br /> <strong>From: First Name <user@email.com></strong><br /> <strong>To: 'User Name 2' <email2@email.com></strong><br /> <strong>Date: Fri, 12 Nov 2010 09:24:30 -0200</strong><br /> <br/> </div> <div class="messagecontents"> <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> </head> <body> <div class=Section1> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'>XXXXX, <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'>XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <span class="message_highlight">XXXX</span>, <st1:PersonName ProductID="XXXXXXXXX" w:st="on">XXXXXXXXX</st1:PersonName> XXXXX. <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'>XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'>XXXXXX XXXXXXXXXXXX <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'>XXXXXXXXXXXXXX <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=black face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <div> <p class=MsoNormal><font size=3 color=black face="Times New Roman"><span style='xxxx'><img src="/view/theme/default/images/remote.gif" /> </span></font><o:p></o:p></p> </div> <div> <div class=MsoNormal align=center style='xxxx'><font size=3 face="Times New Roman"><span style='xxxx'> <hr size=2 width="100%" align=center tabindex=-1> </span></font></div> <p class=MsoNormal><b><font size=2 face=Tahoma><span style='xxxx'>De:</span></font></b><font size=2 face=Tahoma><span style='xxxx'> XXXXXXX XXXXXXXXXX [mailto:<st1:PersonName w:st="on">XXXXXXXXXXXXXX@email.com</st1:PersonName>] <br> <b><span style='xxxx'>Enviada em:</span></b> quinta-feira, 11 de novembro de 2010 19:14<br> <b><span style='xxxx'>Para:</span></b> 'First Name'<br> <b><span style='xxxx'>Assunto:</span></b> XXXXXXXXXXXXXXXXXXX</span></font><o:p></o:p></p> </div> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXX,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'><o:p> </o:p></span></font></p> <div> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'><a href="http://www.email.com/"></a><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>Atenciosamente</span></font><font color=navy><span style='xxxx'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span style='xxxx'> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXX<br> XXXXXXXXXXXXXXXXXXXXXX<br> <a href="mailto:XXXXXXXXXXXXXX@email.com">XXXXXXXXXXXXXXXXXXXXXXXX</a><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXXXXX<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXXXXXXXXXX<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'>XXXXXXXXXXXXXXXXXXXXXX</span></font><font color=navy><span style='xxxx'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span style='xxxx'><a href="http://www.email.com">www.email.com</a></span></font><font color=navy><span style='xxxx'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span style='xxxx'> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span style='xxxx'> </span></font><o:p></o:p></p> </div> <div> <div class=MsoNormal align=center style='xxxx'><font size=3 face="Times New Roman"><span style='xxxx'> <hr size=2 width="100%" align=center tabindex=-1> </span></font></div> <p class=MsoNormal><b><font size=2 face=Tahoma><span style='xxxx'>De:</span></font></b><font size=2 face=Tahoma><span style='xxxx'> <st1:PersonName ProductID="First Name" w:st="on">First Name</st1:PersonName> [mailto:user@email.com] <br> <b><span style='xxxx'>Enviada em:</span></b> quinta-feira, 11 de novembro de 2010 19:05<br> <b><span style='xxxx'>Para:</span></b> <st1:PersonName w:st="on">XXXXXXXXXXXXXX@email.com</st1:PersonName><br> <b><span style='xxxx'>Assunto:</span></b> XXXXXXXXXXXXXX</span></font><o:p></o:p></p> </div> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'>XXXXXXX, <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'>XXXXXXXXXXXXXXX<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='xxxx'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='xxxx'><img src="/view/theme/default/images/remote.gif" /> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='xxxx'><o:p> </o:p></span></font></p> </div> </body> </html> </div> </div>
-
repo owner Download the latest master branch (see the Downloads icon on the left), and overwrite the webui with the shipped files, then check again, if it's any better.
-
Account Deleted You just nailed it. Now it shows perfect.
Thanks.
-
Account Deleted - changed status to resolved
Commit 07be4fd fixed.
-
Account Deleted Hi!
I just got another issue in another message:
Here is the message EML source(Just a snippet):
... --alt---boundary-LibPST-iamunique-65543813_-_- Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags"><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--><o:SmartTagType name="PostalCode" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="State" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="Street" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="City" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="country-region" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType name="address" namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]> <STYLE>st1\:* { BEHAVIOR: url(#default#ieooui) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Tahoma; } @page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 3.0cm 70.85pt 3.0cm; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: blue; TEXT-DECORATION: underline } SPAN.EstiloDeEmail17 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal } SPAN.EstiloDeEmail18 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal } SPAN.EstiloDeEmail19 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply } DIV.Section1 { page: Section1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=PT-BR vLink=blue link=blue bgColor=white> <DIV dir=ltr align=left><SPAN class=953124110-20102006><FONT face=Arial color=#0000ff size=2>Érika,</FONT></SPAN></DIV> ...
The output in the WebUI is the attached image.
-
Account Deleted - changed status to open
I just found another issue regarding style removal.
-
repo owner Edit model/search/message.php, and on line 570 change strpos to stripos, I think it will solve the case sensitivity problem.
-
Account Deleted Perfect. solved the issue. This will be available in the repository?
Thanks.
-
repo owner - changed status to resolved
Yes, it's pushed to the bitbucket repo
- Log in to comment
Do you mean that the GUI is unable to show the message in the preview pane?