[Tickets #14841] Re: Send mail over ActiveSync - lose content

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Mar 16 22:35:48 UTC 2019


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14841
------------------------------------------------------------------------------
  Ticket             | 14841
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Send mail over ActiveSync - lose content
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2019-03-16 22:35) wrote:

Thanks to information and a test device, sent by Samuel off-list, I  
believe this is now finally fixed/worked around.

Essentially, the GMail client is assuming that the MIME type of the  
email body is *always* HTML because that's what it requests when  
synchronizing. This obviously isn't always the case, emails can have  
text/plain parts with no text/html parts. In these cases we are  
correctly setting the TYPE property to indicate it is, indeed, a plain  
text/plain body.
  Unfortunately, GMail appears to ignore this.

Since the specification isn't 100% clear as to what to do if the MIME  
type requested isn't available, I'm now converting the plain text part  
into HTML in the most minimalistic way possible.

Please let me know if this solves the problem on your end, as it  
solved the test cases on my end.






More information about the bugs mailing list