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

[email protected] Sat, 16 Mar 2019 22:35:48 +0000
Newsgroups gmane.comp.horde.bugs
Message-ID <[email protected]>
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 <[email protected]>
  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 <[email protected]> (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.




-- 
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]