>> It is wrong encoding (i think it was associated with quoted printable 
>> encoding). I also can see that iPhone iOS does have same issue with 
>> messagepreview, but when I open the message i tis shown correctly.
>> Seems to me like "bad" content is delivered to the client in Exchange 
>> active sync when text (non html) content is requested from the client 
>> side and message contains or doesnt cointains that content. Since 
>> this error is in more than one client it should be solved on server 
>> side?
> I have a patch for this which seems to work well (except for the 
> message preview in iOS). Are you in a position to test a patch? (ie., 
> so compiling stuff yourself).

>>I've pushed the patch a couple of hours ago - it'll be part of the
upcoming nightly builds. There are a couple of ActiveSync fixes that have
also been pushed. Anyone interested should give the nightly builds a try, as
v2.2.2 will soon be released and based >>on them.

Hi Ludovic! 

I pulled the latest  code from git and did a quick test with outlook
connected to sogo via activesync . 

I sent a html mail to myself.  The mail is sent  but when outlook tries to
receive the mail via activesync (syncing indbox) its fails and sogo.log
shows following error:

Mar 20 14:13:28 sogod [3157]: <0x0x7f12eb6037e0[NGImap4Client]> Note: no key
found for sorting, using 'DATE': (null)
EXCEPTION: <NSException: 0x7f12eb7eb730> NAME:NSInvalidArgumentException
REASON:NGMimeBodyPart(instance) does not recognize setHeader:forKey:
INFO:(null)
Mar 20 14:13:28 sogod [3137]: <0x0x7f12eb35f5d0[WOWatchDogChild]> child 3157
exited
Mar 20 14:13:28 sogod [3137]: <0x0x7f12eb35f5d0[WOWatchDogChild]>
(terminated due to signal 6)
2014-03-20 14:13:28.616 sogod[3158] -[WEClientCapabilities
initWithRequest:]: Unknown WebClient: user-agent='Outlook/15.0
(15.0.4569.1505; C2R; x86)'
Mar 20 14:13:28 sogod [3137]: <0x0x7f12eb437db0[WOWatchDog]> child spawned
with pid 3282
2014-03-20 14:13:28.625 sogod[3158] Got Ping request with valid interval -
sleeping for 5 seconds.

The exception occurs in SOGoMailObject+ActiveSync.m (_sanitizedMIMEPart)  at
781 lines  [thePart setHeader: mimeType  forKey: @"content-type"];

Regards,
Thomas


-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to