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

Reply via email to