Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Mobility > Zimbra Mobile

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-20-2006, 07:52 AM
Special Member
 
Posts: 164
Default Windows Mobile 5 - HTML formatted message

Hi all

I have been checking IMAP access with a WM5 PDA and I find that email sent in html format arriving in my Zimbra account can appear blank in the Mobile Outlook. Checking WM5 against HTML messages in Exchange and other imap accounts they come through OK in Mobile Outlook, just seems to be the ones from Zimbra that disappear. Using OSS 3 - 160build.

2003se edition was fine and receives those same HTML messages fine from Zimbra, however something odd is happening with the combination Zimbra+WM5...

Any ideas? Will make a difference to many if email ends up arriving emtpy on when on the road! ;-)

Kevin
Reply With Quote
  #2 (permalink)  
Old 03-20-2006, 09:24 AM
Zimbra Employee
 
Posts: 4,792
Default

Can you post some example messages. I've seen this too on my PDA but in most cases they are not Zimbra generated mail. If you have some Zimbra generated mail or a way to replicate it please post that to bugzilla.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 03-20-2006, 10:33 AM
Special Member
 
Posts: 164
Default Any time

Hi Kevin

Anytime I send a message from Zimbra mail client in HTML the PDA cant see it. Even if it is just test formatting!

Same message sent via exchange 5.5 or 2K3 it is received fin by WM5.

Anything else useful I can post here or in Bugzilla? Nothing looks unusual particularly - see below:

HTML message carries:

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_3_22764575.1142872432256"
X-Virus-Scanned: amavisd-new at
X-Spam-Status: No, score=-3.816 tagged_above=-10 required=6.6 autolearn=ham
tests=[ALL_TRUSTED=-1.8, AWL=0.582, BAYES_00=-2.599, HTML_MESSAGE=0.001]
X-Spam-Score: -3.816
X-Spam-Level:

------=_Part_3_22764575.1142872432256
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit


Testing simple HTML meesage


From a Zimbra account back to the originator with no other mail system involved.

And CC'd to Exchange 5.5 account

------=_Part_3_22764575.1142872432256
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<div style='font-family:Times New Roman, Times, serif;font-size:12pt;color:#000000;'><div style="font-family: Times New Roman,Times,serif; font-size: 12pt; color: rgb(0, 0, 0);"><span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;">Testing simple HTML meesage</span><br><div style="font-family: Times New Roman,Times,serif; font-size: 12pt; color: rgb(0, 0, 0);"><span style="font-family: Arial,Helvetica,sans-serif; font-weight: bold;"><br>From a Zimbra account back to the originator with no other mail system involved.<br><br>And CC'd to Exchange 5.5 account<br></span></div></div>
------=_Part_3_22764575.1142872432256--
Reply With Quote
  #4 (permalink)  
Old 03-20-2006, 10:40 AM
Zimbra Employee
 
Posts: 4,792
Default

Can you post the message from Zimbra and a working example from Exchange both as attachments to the bug. This way they are not mangled by bugzilla and we get the full message mime to test with.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 03-20-2006, 11:07 AM
Special Member
 
Posts: 164
Default Done!

Bug report 6582

Let me know if there is anything else I can do.

kevin
Reply With Quote
  #6 (permalink)  
Old 05-08-2006, 06:29 PM
Active Member
 
Posts: 27
Default

I have seen this as well. It seems to affect any multipart mime message. Even on messages with no html content... i.e. text body with text attachement, the message body is never displayed on wm5. the attachement can be seen by clicking the attachement but body is missing. I've traced the only thing that zimbra seems to do is removing the Content-Length: and Lines: headers. Perhaps WM5 depends on these.
Reply With Quote
  #7 (permalink)  
Old 05-08-2006, 08:09 PM
Zimbra Employee
 
Posts: 4,792
Default

Yep the WM5 IMAP client seems to barf on any multi-part message. In the next release we'll have a /wm modifier you can add to your username in the IMAP client. This will convert the message to a single part for display on the WM5 devices. Seems to work pretty well from my testing.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #8 (permalink)  
Old 05-09-2006, 12:07 PM
Active Member
 
Posts: 27
Default

Thanks for the quick response Kevin. I don't think it's a general multi-part handling issue with WM5 though. I ran another test by setting up an off-site account that does not use zimbra, sent identical test emails to both accounts simultaneously, and checked both accounts on the same WM5 device. Here are descriptions of each test email and the result for each server:

Plain text message (no mime encap)
zimbra - displayed fine
non-zim - displayed fine

Multi-part mime message with no html (body with single text attachement)
zimbra - body of message not displayed but attachment can be read
non-zim - both body and message displayed as expected

Multi-part mime html message (standard html message generated by kmail)
zimbra - no body displayed and no html available to download or display
non-zim - text body displayed with option of html view

This proves that WM5 *can* handle multipart messages but zimbra is doing something to the message that WM5 doesn't like. As I mentioned in my previous post, it looks like zimbra is removing the Content-Length: and Lines: headers which WM5 may actually require when processing multipart messages. Is there a way to configure zimbra not to delete those headers so we can run a test?

As usual.. thanks in advance for the help.

:edit to make more readable:

Last edited by eddie; 05-09-2006 at 12:29 PM..
Reply With Quote
  #9 (permalink)  
Old 05-09-2006, 02:10 PM
Active Member
 
Posts: 27
Default

Please ignore my previous theory regarding content-lenth and lines fields. Although my new data shows similar problem but in zimbra's imap implementation specifically. Talking to the imap server directly I get the following.

On Zimbra:
a03 fetch 796 body
* 796 FETCH (BODY (("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 1104 0)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 1483 0) "ALTERNATIVE"))
a03 OK FETCH completed

According to the rfc the number following the number of octets for each mime section (in this case 1104 and 1483 respectively) is the number of lines. Zimbra returns 0 lines for both mime sections. I'll bet WM5 looks at the number of lines rather than the number of octets so it looks like an empty message.

On non-Zimbra imap:
a04 fetch 1910 body
* 1910 FETCH (BODY (("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 1104 30)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 1483 33) "ALTERNATIVE"))
a04 OK FETCH completed

Note on the non-zimbra server (where WM5 works fine), it shows the correct number of lines for each section.
Reply With Quote
  #10 (permalink)  
Old 05-09-2006, 04:15 PM
Zimbra Employee
 
Posts: 4,792
Default

Nice work Eddie. We'll take a look and see why we aren't setting the line count.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.