Sorry,
found the smart reply.
Looks like a base64 string nesting.

Il giorno gio 27 mag 2021 alle ore 16:46 Thomas Führer <users@sogo.nu>
ha scritto:
>
> What you have included in your mail is the response when something is synced 
> to the client.
> You have to search for something like this:
>
> <SmartReply xmlns="ComposeMail:">
>  <ClientId>SendMail-1637869276951271</ClientId>
>  <SaveInSentItems/>
>  <Source>
>   <ItemId>6762</ItemId>
>   <FolderId>mail%2F7bec86342c90f55948480000d8c82be3</FolderId>
>  </Source>
>  <MIME>BASE64BASE64</MIME>
> </SmartReply>
>
>  SmartReply->MIME contains the base64 encoded stuff what is sent by the gmail 
> app.
>
>
>
> Am Donnerstag, Mai 27, 2021 15:47 CEST, schrieb "Riccardo Bicelli" 
> (r.bice...@gmail.com) <users@sogo.nu>:
>
> > I put SOGo in debug mode, the issue is easily reproducible.
> >
> > Below there's the entire payload logged. But the relevant part is:
> >
> > <Data>&lt;div dir=&apos;auto&apos;&gt;Ciao Max .&lt;div
> > dir=&quot;auto&quot;&gt;Ignora la mCIAO REDACTED, MI HA CHIAMATO
> > REDACTED PER SAPERE SE CI SONO SCONTI...&lt;br /&gt;&lt;br /&gt;NELLO
> > STORICO REDACTED NON NE VEDO...&lt;br /&gt;&lt;br /&gt;DAMMI TUE
> > INDICAZIONI, OPPURE CONTATTALO DIRETTAMENTE.&lt;br /&gt;&lt;br
> > /&gt;MASSI&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br
> > /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</Data>
> >
> >
> > Original message starts on "CIAO", reply is the part before. The reply
> > wa truncated. ("Ignora la m")
> >
> >
> > <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN"
> > "http://www.microsoft.com/";>
> > <Sync xmlns="AirSync:">
> >  <Collections>
> >   <Collection>
> >    <Class>Email</Class>
> >    <SyncKey>4120-20704</SyncKey>
> >    <CollectionId>mail%2F81a33f177a9bf859bb6300004ca6fcd2</CollectionId>
> >    <Status>1</Status>
> >    <Commands>
> >     <SoftDelete>
> >      <ServerId>3966</ServerId>
> >     </SoftDelete>
> >     <Add>
> >      <ServerId>4120</ServerId>
> >      <ApplicationData>
> >       <To xmlns="Email:">&quot;redacte...@example.com&quot;
> > &lt;redacte...@example.com&gt;</To>
> >       <DisplayTo xmlns="Email:">redacte...@example.com</DisplayTo>
> >       <From xmlns="Email:">&quot;REDACTED.2&quot;
> > &lt;redacte...@example.com&gt;</From>
> >       <Subject xmlns="Email:">Fwd: offerta x fustini</Subject>
> >       <ThreadTopic xmlns="Email:">offerta x fustini</ThreadTopic>
> >       <DateReceived xmlns="Email:">2021-05-27T10:44:20.000Z</DateReceived>
> >       <Importance xmlns="Email:">1</Importance>
> >       <Read xmlns="Email:">1</Read>
> >       <MessageClass xmlns="Email:">IPM.Note</MessageClass>
> >       <ContentClass 
> > xmlns="Email:">urn:content-classes:message</ContentClass>
> >       <InternetCPID xmlns="Email:">65001</InternetCPID>
> >       <Body xmlns="AirSyncBase:">
> >        <Type>2</Type>
> >        <Truncated>0</Truncated>
> >        <Preview/>
> >        <Data>&lt;div dir=&apos;auto&apos;&gt;&lt;div&gt;Ciao Mauro
> > .&lt;/div&gt;&lt;div dir=&quot;auto&quot;&gt;Ecco l offerta
> > aggiornata.&amp;nbsp;&lt;/div&gt;&lt;div
> > dir=&quot;auto&quot;&gt;&lt;br&gt;&lt;div
> > class=&quot;gmail_quote&quot; dir=&quot;auto&quot;&gt;----------
> > Messaggio inoltrato ----------&lt;br&gt;Da: &quot;REDACTED&quot;
> > &amp;lt;redacte...@example.com&amp;gt;&lt;br&gt;Data: 27 Mag 2021
> > 11:46&lt;br&gt;Oggetto: offerta x Caffaro&lt;br&gt;A:
> > redacte...@example.com&lt;br&gt;Cc: &lt;br&gt;&lt;br
> > type=&quot;attribution&quot;&gt;&lt;blockquote class=&quot;quote&quot;
> > style=&quot;$
> > &lt;br&gt;
> >
> > &lt;br&gt;
> > in allegato offerta da inviare al cliente attenzione nuova quotazione
> > &lt;br&gt;
> >
> > &lt;br&gt;
> > Consegna meta&apos; Giugno.
> > &lt;br&gt;
> >
> > &lt;br&gt;
> > Grazie
> > &lt;br&gt;
> >
> > &lt;br&gt;
> >
> > &lt;br&gt;
> >
> > &lt;br&gt;
> >
> > &lt;br&gt;
> >
> > &lt;br&gt;
> > &lt;/p&gt;
> > &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</Data>
> >        <EstimatedDataSize>1168</EstimatedDataSize>
> >       </Body>
> >       <Attachments xmlns="AirSyncBase:">
> >        <Attachment>
> >         <DisplayName>15736_OFF_CLI_2021-OFCBX-0006221.pdf</DisplayName>
> >         <FileReference>mail/Sent/4120/2</FileReference>
> >         <Method>1</Method>
> >         <EstimatedDataSize>357764</EstimatedDataSize>
> >        </Attachment>
> >       </Attachments>
> >       <Flag xmlns="Email:">
> >        <FlagStatus>0</FlagStatus>
> >       </Flag>
> >       <Categories xmlns="Email:"/>
> >       <ConversationId
> > xmlns="Email2:">PDk3N2E3MzFmLWI3ODQtNGQwMi05ZjNhLTllZWJjMGJjMjE4ZUBlbWFpbC5hbmRyb2lkLmNvbT4=</ConversationId>
> >       <LastVerbExecuted xmlns="Email2:">0</LastVerbExecuted>
> >       <NativeBodyType xmlns="AirSyncBase:">2</NativeBodyType>
> >      </ApplicationData>
> >     </Add>
> >     <Add>
> >      <ServerId>4121</ServerId>
> >      <ApplicationData>
> >       <To xmlns="Email:">&quot;REDACTED&quot;
> > &lt;redacte...@example.com&gt;</To>
> >       <DisplayTo xmlns="Email:">REDACTED</DisplayTo>
> >       <From xmlns="Email:">&quot;REDACTED.2&quot;
> > &lt;redacte...@example.com&gt;</From>
> >       <Subject xmlns="Email:">Re: REDACTED SUBJECT</Subject>
> >       <ThreadTopic xmlns="Email:">REDACTED SUBJECT</ThreadTopic>
> >       <DateReceived xmlns="Email:">2021-05-27T12:59:35.000Z</DateReceived>
> >       <Importance xmlns="Email:">1</Importance>
> >       <Read xmlns="Email:">1</Read>
> >       <MessageClass xmlns="Email:">IPM.Note</MessageClass>
> >       <ContentClass 
> > xmlns="Email:">urn:content-classes:message</ContentClass>
> >       <InternetCPID xmlns="Email:">65001</InternetCPID>
> >       <Body xmlns="AirSyncBase:">
> >        <Type>2</Type>
> >        <Truncated>0</Truncated>
> >        <Preview/>
> >        <Data>&lt;div dir=&apos;auto&apos;&gt;Ciao Max .&lt;div
> > dir=&quot;auto&quot;&gt;Ignora la mCIAO REDACTED, MI HA CHIAMATO
> > REDACTED PER SAPERE SE CI SONO SCONTI...&lt;br /&gt;&lt;br /&gt;NELLO
> > STORICO REDACTED NON NE VEDO...&lt;br /&gt;&lt;br /&gt;DAMMI TUE
> > INDICAZIONI, OPPURE CONTATTALO DIRETTAMENTE.&lt;br /&gt;&lt;br
> > /&gt;MASSI&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br
> > /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</Data>
> >        <EstimatedDataSize>406</EstimatedDataSize>
> >       </Body>
> >       <Flag xmlns="Email:">
> >        <FlagStatus>0</FlagStatus>
> >       </Flag>
> >       <Categories xmlns="Email:"/>
> >       <ConversationId
> > xmlns="Email2:">PDIxMDUxMzEwMTkxMDAwMDcxNzU2OThAWERTMDMuc2Vydml6aTAxLmFkZHM+</ConversationId>
> >       <LastVerbExecuted xmlns="Email2:">0</LastVerbExecuted>
> >       <NativeBodyType xmlns="AirSyncBase:">2</NativeBodyType>
> >      </ApplicationData>
> >     </Add>
> >    </Commands>
> >   </Collection>
> >  </Collections>
> > </Sync>
> >
> > Il giorno mar 25 mag 2021 alle ore 23:01 Thomas Führer <users@sogo.nu>
> > ha scritto:
> > >
> > > Hi Riccardo,as it works for me I suggest to reproduce the problem with 
> > > SOGoEASDebugEnabled=YES.Then search in sogo.log for SendMail or   
> > > SmartReply. The debug info for SendMail contains the base64 encoded mail 
> > > sent by the gmail app.Regards,Thomas<!-- originalMessage --><div>-------- 
> > > Original message --------</div><div>From: Riccardo Bicelli 
> > > <users@sogo.nu> </div><div>Date: 24/05/2021  11:01  (GMT+01:00) 
> > > </div><div>To: users@sogo.nu </div><div>Subject: [SOGo] Gmail App 
> > > Activesync reply Problem </div><div>
> > > </div>Hi,
> > > some of our users (heavy mobile ones) are complaining that when
> > > replying from gmail App with Activesync configured  account the
> > > received message arrives to recipient with truncated body.
> > >
> > > I'm pretty sure it's a bug of gmail app and its smart reply.
> > >
> > > Is there any workaround to prevent this?
> > >
> > > Thanks
> > > --
> > > users@sogo.nu
> > > https://inverse.ca/sogo/lists
> > >
> > > --
> > > users@sogo.nu
> > > https://inverse.ca/sogo/lists
> > --
> > users@sogo.nu
> > https://inverse.ca/sogo/lists
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" 
"http://www.microsoft.com/";>
<SmartReply xmlns="ComposeMail:">
 <ClientId>SendMail-105848786755999</ClientId>
 <SaveInSentItems/>
 <Source>
  <ItemId>15051</ItemId>
  <FolderId>mail%2F41c96c0cd6446f60c85f0000c343691f</FolderId>
 </Source>
 
<MIME>RGF0ZTogVGh1LCAyNyBNYXkgMjAyMSAxNDo1OTozNSArMDIwMA0KU3ViamVjdDogUmU6IEludmlvIHByZXZlbnRpdm8gbnIuIDIwMjEtT0ZDQlgtMDAwNTQ2OQ0KTWVzc2FnZS1JRDogPDk1N2FiYTc5LTE1MjMtNGJlNi1hZGYyLWFiZDNhZjlmMmEyZkBlbWFpbC5hbmRyb2lkLmNvbT4NClgtQW5kcm9pZC1NZXNzYWdlLUlEOiA8OTU3YWJhNzktMTUyMy00YmU2LWFkZjItYWJkM2FmOWYyYTJmQGVtYWlsLmFuZHJvaWQuY29tPg0KRnJvbTogci5jb2xsaXZhQGRlZ2FlZ3JhemlvbGkuaXQNClRvOiAiTWFzc2ltaWxpYW5vIEN1Z2xpYW5kb2xvIC0gREVHQSBlIEdSQVpJT0xJIFMuci5sLiINCiA8bS5jdWdsaWFuZG9sb0BkZWdhZWdyYXppb2xpLml0Pg0KSW1wb3J0YW5jZTogTm9ybWFsDQpYLVByaW9yaXR5OiAzDQpYLU1TTWFpbC1Qcmlvcml0eTogTm9ybWFsDQpNSU1FLVZlcnNpb246IDEuMA0KQ29udGVudC1UeXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJhc2U2NA0KDQpQR1JwZGlCa2FYSTlKMkYxZEc4blBrTnBZVzhnVFdGNElDNDhaR2wySUdScGNqMGlZWFYwYnlJK1NXZHViM0poSUd4aElHMD0NCg==</MIME>
</SmartReply>

Reply via email to