Opush
  1. Opush
  2. OP-108

T#9356 HTML tags are displayed in the email preview on iOS devices

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Normal Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.4
    • Labels:
      None
    • Environment:

      OBM 2.4.2.9

    • Rank:
      5576

      Description

      Pre-conditions

      Reproduction steps

      1. As usera with TB, send an HTML email to userPDA
      2. As userPDA with iPhone, retrieve email and display the list of emails

      Current behavior

      1. See snapshotOpush.png, the summary of the beginning of the email displays HTML tags NOK

      Expected behavior

      1. See snaptshotExchange.png (taken with Exchange), the summary of the beginning of the emails don't displays HTML tags OK

      Additional informations

      Reproduced with OBM 2.4.2.0, 2.4.2.2, 2.4.2.8, 2.4.2.9 (this is not a regression)
      Reproduced with iPhone (iOS7) and iPad (iOS6)

      07:48:26.175 [INFO ] {AUTHENTICATION} [t15/cSync/r101/usera@obm14.lng.org]:Authentication success [login:usera@obm14.lng.org], the device [type:iPhone] has been authorized.
      07:48:26.189 [INFO ] {REQUEST.FULL} [t15/cSync/r101/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <SyncKey>10046956-a14c-4eb6-b382-9f5289745010</SyncKey>
      <CollectionId>136</CollectionId>
      <GetChanges/>
      <WindowSize>25</WindowSize>
      <Options>
      <FilterType>3</FilterType>
      <MIMETruncation>1</MIMETruncation>
      <MIMESupport>0</MIMESupport>
      <BodyPreference>
      <Type>1</Type>
      <TruncationSize>500</TruncationSize>
      </BodyPreference>
      </Options>
      </Collection>
      </Collections>
      </Sync>
      
      07:48:26.211 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A0 STARTTLS
      07:48:26.223 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.223 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [A0] A0 OK Begin TLS negotiation now
      07:48:26.224 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A1 LOGIN "usera@obm14.lng.org" "usera"
      07:48:26.274 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.274 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [A1] A1 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED AUTH=PLAIN COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in
      07:48:26.274 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A2 STATUS "INBOX" (UIDNEXT)
      07:48:26.276 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.277 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * STATUS INBOX (UIDNEXT 37)
      [A2] A2 OK Completed
      07:48:26.298 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A3 SELECT "INBOX"
      07:48:26.324 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.324 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal)
      [*] * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal \*)]  
      [*] * 34 EXISTS
      [*] * 0 RECENT
      [*] * OK [UNSEEN 1]  
      [*] * OK [UIDVALIDITY 1359724583]  
      [*] * OK [UIDNEXT 37]  
      [*] * OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
      [*] * OK [URLMECH INTERNAL]
      [A3] A3 OK [READ-WRITE] Completed
      07:48:26.326 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A4 UID SEARCH NOT DELETED NOT BEFORE 2-Oct-2013
      07:48:26.401 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.401 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * SEARCH 36
      [A4] A4 OK Completed (1 msgs in 0.000 secs)
      07:48:26.402 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A5 UID FETCH 36 (FLAGS INTERNALDATE RFC822.SIZE)
      07:48:26.412 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.412 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * 34 FETCH (FLAGS () UID 36 INTERNALDATE " 8-Oct-2013 18:15:14 +0200" RFC822.SIZE 4188)
      [A5] A5 OK Completed (0.000 sec)
      07:48:26.424 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A6 UID FETCH 36 (UID FLAGS RFC822.SIZE BODYSTRUCTURE ENVELOPE)
      07:48:26.426 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.426 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * 34 FETCH (FLAGS () UID 36 RFC822.SIZE 4188 ENVELOPE ("Tue, 08 Oct 2013 11:55:02 +0200" "[Affectation du dossier INC0000524 =?iso-8859-1?B?4A==?= vous] - Abonnement BDNU" ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "frederic.soultanem" "agriculture.gouv.fr")) NIL NIL NIL "<0MUC00GL6GU4DQ30@srv1.agricoll.auzeville.agri>") BODYSTRUCTURE ("TEXT" "HTML" ("CHARSET" "iso-8859-1") NIL NIL "8BIT" 1619 11 NIL NIL NIL NIL))
      [A6] A6 OK Completed (0.000 sec)
      07:48:26.432 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:C: A7 UID FETCH 36 (UID BODY.PEEK[1]<0.32768>)
      07:48:26.438 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:Command status SUCCESS
      07:48:26.438 [INFO ] {IMAP.COMMAND} [t15/cSync/r101/usera@obm14.lng.org]:S: [*] * 34 FETCH (UID 36 BODY[1]<0> {1619}
      [A7] A7 OK Completed (0.000 sec)
      07:48:26.447 [INFO ] {REQUEST.FULL} [t15/cSync/r101/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <Class>Email</Class>
      <SyncKey>fc167bef-0737-4bed-85a0-da909aab388d</SyncKey>
      <CollectionId>136</CollectionId>
      <Status>1</Status>
      <Commands>
      <Add>
      <ServerId>136:36</ServerId>
      <ApplicationData>
      <Email:To> &lt;frederic.soultanem@agriculture.gouv.fr&gt; </Email:To>
      <Email:From> &lt;centredeservices.ep@agriculture.gouv.fr&gt; </Email:From>
      <Email:ReplyTo> &lt;centredeservices.ep@agriculture.gouv.fr&gt; </Email:ReplyTo>
      <Email:Subject>[Affectation du dossier INC0000524 à vous] - Abonnement BDNU</Email:Subject>
      <Email:DateReceived>2013-10-08T09:55:02.000Z</Email:DateReceived>
      <Email:DisplayTo> &lt;frederic.soultanem@agriculture.gouv.fr&gt; </Email:DisplayTo>
      <Email:Importance>1</Email:Importance>
      <Email:Read>0</Email:Read>
      <AirSyncBase:Body>
      <AirSyncBase:Type>2</AirSyncBase:Type>
      <AirSyncBase:Truncated>0</AirSyncBase:Truncated>
      <AirSyncBase:EstimatedDataSize>1619</AirSyncBase:EstimatedDataSize>
      <AirSyncBase:Data><![CDATA[<P>Bonjour,</P>
      <P>&nbsp;</P>
      <P>Monsieur GALIBERT Gilles vient de vous affecter le dossier INC0002155.</P>
      <P>&nbsp;</P>
      <P>Commentaires éventuels&nbsp;de Monsieur GALIBERT Gilles&nbsp;&nbsp;:</P>
      <P>&nbsp;</P>
      <P>Rappel de la description du dossier&nbsp;:<BR><EM>Date de mise &#224; disposition souhait&#233;e&#160;:<br /><br />OBJET<br />* Nom de l'application&#160;: BDNU<br />* Environnement&#160;(d&#233;veloppement, int&#233;gration, v&#233;rification technique, v&#233;rification performance, qualification, formation, auto-formation, production)&#160;:d&#233;veloppement, v&#233;rification technique, qualification, production<br />* Domaine fonctionnel&#160;:Abonnement<br />* Type d'espace demand&#233;&#160;(EASF PASF)&#160;:EASF<br /><br />INVENTAIRE DES RESSOURCES DEMAND&#201;ES<br />* Taille espace de stockage&#160;: 10Go<br />* Nom du flux&#160;: ABO_BDNU<br />* Acc&#232;s secoia O/N&#160;: O<br /><br />DIVERS<br />* Acc&#232;s &#224; espace depuis un serveur distant via NFS&#160;:<br />* Raison du besoin&#160;:<br />* Serveur devant acc&#233;der &#224; cet espace&#160;(adresse dns et r&#233;pertoire)&#160;:</EM></P>
      <P><BR>Vous pouvez y accéder en utilisant l'URL ci-dessous :</P>
      <P><A href="https://centredeservices.ep.national.agri/IsilogWebSystem/HOMEPAGE.aspx?C_ECRAN=HELP005_INC_SYS&amp;Type=LINK&amp;Action=C&amp;FieldName=IDT_APPEL&amp;FieldValue=INC0002155">https://centredeservices.ep.national.agri/IsilogWebSystem/HOMEPAGE.aspx?C_ECRAN=HELP005_INC_SYS&amp;Type=LINK&amp;Action=C&amp;FieldName=IDT_APPEL&amp;FieldValue=INC0002155</A></P>
      <P><BR>Cordialement,</P>
      <P>--</P>
      ]]></AirSyncBase:Data>
      </AirSyncBase:Body>
      <Email:MessageClass>IPM.Note</Email:MessageClass>
      <Email:ContentClass>urn:content-classes:message</Email:ContentClass>
      <Email:InternetCPID>65001</Email:InternetCPID>
      <AirSyncBase:NativeBodyType>2</AirSyncBase:NativeBodyType>
      </ApplicationData>
      </Add>
      </Commands>
      </Collection>
      </Collections>
      </Sync>
      
      07:48:28.756 [INFO ] {AUTHENTICATION} [t15/cSync/r102/usera@obm14.lng.org]:Authentication success [login:usera@obm14.lng.org], the device [type:iPhone] has been authorized.
      07:48:28.764 [INFO ] {REQUEST.FULL} [t15/cSync/r102/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <SyncKey>fc167bef-0737-4bed-85a0-da909aab388d</SyncKey>
      <CollectionId>136</CollectionId>
      <GetChanges/>
      <WindowSize>25</WindowSize>
      <Options>
      <FilterType>3</FilterType>
      <MIMETruncation>1</MIMETruncation>
      <MIMESupport>0</MIMESupport>
      <BodyPreference>
      <Type>1</Type>
      <TruncationSize>500</TruncationSize>
      </BodyPreference>
      </Options>
      </Collection>
      </Collections>
      </Sync>
      
      07:48:28.775 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:C: A0 STARTTLS
      07:48:28.789 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:Command status SUCCESS
      07:48:28.789 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:S: [A0] A0 OK Begin TLS negotiation now
      07:48:28.789 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:C: A1 LOGIN "usera@obm14.lng.org" "usera"
      07:48:28.842 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:Command status SUCCESS
      07:48:28.842 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:S: [A1] A1 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED AUTH=PLAIN COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in
      07:48:28.842 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:C: A2 STATUS "INBOX" (UIDNEXT)
      07:48:28.846 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:Command status SUCCESS
      07:48:28.846 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:S: [*] * STATUS INBOX (UIDNEXT 37)
      [A2] A2 OK Completed
      07:48:28.851 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:C: A3 SELECT "INBOX"
      07:48:28.861 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:Command status SUCCESS
      07:48:28.861 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:S: [*] * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal)
      [*] * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal \*)]  
      [*] * 34 EXISTS
      [*] * 0 RECENT
      [*] * OK [UNSEEN 1]  
      [*] * OK [UIDVALIDITY 1359724583]  
      [*] * OK [UIDNEXT 37]  
      [*] * OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
      [*] * OK [URLMECH INTERNAL]
      [A3] A3 OK [READ-WRITE] Completed
      07:48:28.861 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:C: A4 UID FETCH 36 (FLAGS INTERNALDATE RFC822.SIZE)
      07:48:28.863 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:Command status SUCCESS
      07:48:28.864 [INFO ] {IMAP.COMMAND} [t15/cSync/r102/usera@obm14.lng.org]:S: [*] * 34 FETCH (FLAGS () UID 36 INTERNALDATE " 8-Oct-2013 18:15:14 +0200" RFC822.SIZE 4188)
      [A4] A4 OK Completed (0.000 sec)
      07:48:28.876 [INFO ] {REQUEST.FULL} [t15/cSync/r102/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <Class>Email</Class>
      <SyncKey>45eac40f-1f7d-400f-8c13-44a86c98381f</SyncKey>
      <CollectionId>136</CollectionId>
      <Status>1</Status>
      </Collection>
      </Collections>
      </Sync>
      
      07:48:29.967 [INFO ] {AUTHENTICATION} [t15/cPing/r103/usera@obm14.lng.org]:Authentication success [login:usera@obm14.lng.org], the device [type:iPhone] has been authorized.
      07:48:29.972 [INFO ] {REQUEST.FULL} [t15/cPing/r103/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Ping>
      <HeartbeatInterval>900</HeartbeatInterval>
      <Folders>
      <Folder>
      <Id>136</Id>
      <Class>Email</Class>
      </Folder>
      </Folders>
      </Ping>
      
      07:48:31.804 [INFO ] {AUTHENTICATION} [t15/cSync/r104/usera@obm14.lng.org]:Authentication success [login:usera@obm14.lng.org], the device [type:iPhone] has been authorized.
      07:48:31.809 [INFO ] {REQUEST.FULL} [t15/cSync/r104/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <SyncKey>45eac40f-1f7d-400f-8c13-44a86c98381f</SyncKey>
      <CollectionId>136</CollectionId>
      <GetChanges>0</GetChanges>
      <Options>
      <FilterType>3</FilterType>
      <MIMESupport>2</MIMESupport>
      <BodyPreference>
      <Type>4</Type>
      <TruncationSize>32768</TruncationSize>
      </BodyPreference>
      </Options>
      <Commands>
      <Fetch>
      <ServerId>136:36</ServerId>
      </Fetch>
      </Commands>
      </Collection>
      </Collections>
      </Sync>
      
      07:48:31.859 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:C: A0 STARTTLS
      07:48:31.879 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:Command status SUCCESS
      07:48:31.879 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:S: [A0] A0 OK Begin TLS negotiation now
      07:48:31.880 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:C: A1 LOGIN "usera@obm14.lng.org" "usera"
      07:48:31.947 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:Command status SUCCESS
      07:48:31.948 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:S: [A1] A1 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED AUTH=PLAIN COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] User logged in
      07:48:31.948 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:C: A2 SELECT "INBOX"
      07:48:31.952 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:Command status SUCCESS
      07:48:31.952 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:S: [*] * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal)
      [*] * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $has_cal \*)]  
      [*] * 34 EXISTS
      [*] * 0 RECENT
      [*] * OK [UNSEEN 1]  
      [*] * OK [UIDVALIDITY 1359724583]  
      [*] * OK [UIDNEXT 37]  
      [*] * OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
      [*] * OK [URLMECH INTERNAL]
      [A2] A2 OK [READ-WRITE] Completed
      07:48:31.953 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:C: A3 UID FETCH 36 (UID FLAGS RFC822.SIZE BODYSTRUCTURE ENVELOPE)
      07:48:31.955 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:Command status SUCCESS
      07:48:31.955 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:S: [*] * 34 FETCH (FLAGS () UID 36 RFC822.SIZE 4188 ENVELOPE ("Tue, 08 Oct 2013 11:55:02 +0200" "[Affectation du dossier INC0000524 =?iso-8859-1?B?4A==?= vous] - Abonnement BDNU" ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "centredeservices.ep" "agriculture.gouv.fr")) ((NIL NIL "frederic.soultanem" "agriculture.gouv.fr")) NIL NIL NIL "<0MUC00GL6GU4DQ30@srv1.agricoll.auzeville.agri>") BODYSTRUCTURE ("TEXT" "HTML" ("CHARSET" "iso-8859-1") NIL NIL "8BIT" 1619 11 NIL NIL NIL NIL))
      [A3] A3 OK Completed (0.000 sec)
      07:48:31.961 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:C: A4 UID FETCH 36 (UID BODY.PEEK[])
      07:48:32.008 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:Command status SUCCESS
      07:48:32.009 [INFO ] {IMAP.COMMAND} [t15/cSync/r104/usera@obm14.lng.org]:S: [*] * 34 FETCH (UID 36 BODY[] {4188}
      [A4] A4 OK Completed (0.000 sec)
      07:48:32.031 [INFO ] {REQUEST.FULL} [t15/cSync/r104/usera@obm14.lng.org]:<?xml version="1.0" encoding="UTF-8"?><Sync>
      <Collections>
      <Collection>
      <Class>Email</Class>
      <SyncKey>7cb18810-a9c1-485c-87b2-7d364b774073</SyncKey>
      <CollectionId>136</CollectionId>
      <Status>1</Status>
      <Responses>
      <Fetch>
      <ServerId>136:36</ServerId>
      <Status>1</Status>
      <ApplicationData>
      <Email:To> &lt;frederic.soultanem@agriculture.gouv.fr&gt; </Email:To>
      <Email:From> &lt;centredeservices.ep@agriculture.gouv.fr&gt; </Email:From>
      <Email:ReplyTo> &lt;centredeservices.ep@agriculture.gouv.fr&gt; </Email:ReplyTo>
      <Email:Subject>[Affectation du dossier INC0000524 à vous] - Abonnement BDNU</Email:Subject>
      <Email:DateReceived>2013-10-08T09:55:02.000Z</Email:DateReceived>
      <Email:DisplayTo> &lt;frederic.soultanem@agriculture.gouv.fr&gt; </Email:DisplayTo>
      <Email:Importance>1</Email:Importance>
      <Email:Read>0</Email:Read>
      <AirSyncBase:Body>
      <AirSyncBase:Type>4</AirSyncBase:Type>
      <AirSyncBase:Truncated>0</AirSyncBase:Truncated>
      <AirSyncBase:EstimatedDataSize>4188</AirSyncBase:EstimatedDataSize>
      <AirSyncBase:Data><![CDATA[Return-Path: <centredeservices.ep@agriculture.gouv.fr>
      Received: from smtp-in.agricoll.national.agri
       (srv-ag2in-v01.exploit.auzeville.agri [10.207.203.65]) by
       bckimap2.agricoll.national.agri (Cyrus v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5)
       with LMTPA; Tue, 08 Oct 2013 11:54:11 +0200
      X-Sieve: CMU Sieve 2.3
      Received: from localhost (unknown [127.0.0.1]) by
       smtp-in.agricoll.national.agri (Postfix) with ESMTP id 496C9E20F9 for
       <frederic.soultanem@agriculture.gouv.fr>; Tue,  8 Oct 2013 09:54:11 +0000
       (UTC)
      X-Virus-Scanned: amavisd-new at agriculture.gouv.fr
      Received: from smtp-in.agricoll.national.agri ([127.0.0.1]) by localhost
       (smtp-in.agricoll.national.agri [127.0.0.1]) (amavisd-new, port 10024) with
       ESMTP id spNxnuQRDDFR for <frederic.soultanem@agriculture.gouv.fr>; Tue,  8
       Oct 2013 11:54:11 +0200 (CEST)
      Received: from smtp1.parme.rmap.auzeville.agri
       (srv-ag2lb-v02.exploit.auzeville.agri [10.207.203.83]) by
       smtp-in.agricoll.national.agri (Postfix) with ESMTP id 33EADE20F3 for
       <frederic.soultanem@agriculture.gouv.fr>; Tue,  8 Oct 2013 11:54:11 +0200
       (CEST)
      X-Virus-Scanned: amavisd-new at agriculture.gouv.fr
      Received: from mail.agricoll.national.agri (mail.agricoll.national.agri
       [10.202.241.9]) by smtp1.parme.rmap.auzeville.agri (Postfix) with ESMTP id
       677E920286 for <frederic.soultanem@agv2.gouv.fr>; Tue,  8 Oct 2013 11:54:04
       +0200 (CEST)
      MIME-version: 1.0
      Content-transfer-encoding: 8BIT
      Content-type: text/html; charset=iso-8859-1
      Received: from srv1.agricoll.auzeville.agri ([10.202.242.1]) by
       mail.agricoll.national.agri (Sun Java(tm) System Messaging Server 6.3-11.01
       (built Feb 12 2010; 32bit)) with ESMTPS id
       <0MUC006XJGU4LY00@mail.agricoll.national.agri> for
       frederic.soultanem@agv2.gouv.fr (ORCPT
       frederic.soultanem@agriculture.gouv.fr) ; Tue, 08 Oct 2013 11:54:04 +0200
       (CEST)
      Content-return: prohibited
      Received: from iws-v01 ([10.207.36.81]) by srv1.agricoll.auzeville.agri
       (Sun Java(tm) System Messaging Server 6.3-11.01 (built Feb 12 2010; 32bit))
       with ESMTPSA id <0MUC00GKVGU1DQ30@srv1.agricoll.auzeville.agri> for
       frederic.soultanem@agv2.gouv.fr (ORCPT
       frederic.soultanem@agriculture.gouv.fr) ; Tue, 08 Oct 2013 11:54:04 +0200
       (CEST)
      Message-id: <0MUC00GL6GU4DQ30@srv1.agricoll.auzeville.agri>
      Sender: centredeservices.ep@agriculture.gouv.fr
      Subject: [Affectation du dossier INC0000524 =?iso-8859-1?B?4A==?= vous] -
       Abonnement BDNU
      From: centredeservices.ep@agriculture.gouv.fr
      To: frederic.soultanem@agriculture.gouv.fr
      Date: Tue, 08 Oct 2013 11:55:02 +0200
      
      <P>Bonjour,</P>
      <P>&nbsp;</P>
      <P>Monsieur GALIBERT Gilles vient de vous affecter le dossier INC0002155.</P>
      <P>&nbsp;</P>
      <P>Commentaires éventuels&nbsp;de Monsieur GALIBERT Gilles&nbsp;&nbsp;:</P>
      <P>&nbsp;</P>
      <P>Rappel de la description du dossier&nbsp;:<BR><EM>Date de mise &#224; disposition souhait&#233;e&#160;:<br /><br />OBJET<br />* Nom de l'application&#160;: BDNU<br />* Environnement&#160;(d&#233;veloppement, int&#233;gration, v&#233;rification technique, v&#233;rification performance, qualification, formation, auto-formation, production)&#160;:d&#233;veloppement, v&#233;rification technique, qualification, production<br />* Domaine fonctionnel&#160;:Abonnement<br />* Type d'espace demand&#233;&#160;(EASF PASF)&#160;:EASF<br /><br />INVENTAIRE DES RESSOURCES DEMAND&#201;ES<br />* Taille espace de stockage&#160;: 10Go<br />* Nom du flux&#160;: ABO_BDNU<br />* Acc&#232;s secoia O/N&#160;: O<br /><br />DIVERS<br />* Acc&#232;s &#224; espace depuis un serveur distant via NFS&#160;:<br />* Raison du besoin&#160;:<br />* Serveur devant acc&#233;der &#224; cet espace&#160;(adresse dns et r&#233;pertoire)&#160;:</EM></P>
      <P><BR>Vous pouvez y accéder en utilisant l'URL ci-dessous :</P>
      <P><A href="https://centredeservices.ep.national.agri/IsilogWebSystem/HOMEPAGE.aspx?C_ECRAN=HELP005_INC_SYS&amp;Type=LINK&amp;Action=C&amp;FieldName=IDT_APPEL&amp;FieldValue=INC0002155">https://centredeservices.ep.national.agri/IsilogWebSystem/HOMEPAGE.aspx?C_ECRAN=HELP005_INC_SYS&amp;Type=LINK&amp;Action=C&amp;FieldName=IDT_APPEL&amp;FieldValue=INC0002155</A></P>
      <P><BR>Cordialement,</P>
      <P>--</P>
      ]]></AirSyncBase:Data>
      </AirSyncBase:Body>
      <Email:MessageClass>IPM.Note</Email:MessageClass>
      <Email:ContentClass>urn:content-classes:message</Email:ContentClass>
      <Email:InternetCPID>65001</Email:InternetCPID>
      <AirSyncBase:NativeBodyType>4</AirSyncBase:NativeBodyType>
      </ApplicationData>
      </Fetch>
      </Responses>
      </Collection>
      </Collections>
      </Sync>
      
      1. OP-108-exchange-ios8.pĉap
        5 kB
        Matthieu EXT_BAECHLER
      2. _Affectation_du_dossier_INC0000524___vous__-_Abonnement_BDNU (1).eml
        4 kB
        Stephane COLSON
      1. snapshotOpush.PNG
        54 kB
      2. snapshotExchange.PNG
        105 kB

        Issue Links

          Activity

          Hide
          Matthieu EXT_BAECHLER added a comment -

          The phone ask for some text/plain but the mail is html only.
          Opush answers with the html part but Exchange transform the email content to match requested bodypreference.

          To fix this, we must implement a text/html to text/plain converter.

          Show
          Matthieu EXT_BAECHLER added a comment - The phone ask for some text/plain but the mail is html only. Opush answers with the html part but Exchange transform the email content to match requested bodypreference. To fix this, we must implement a text/html to text/plain converter.
          Hide
          Matthieu EXT_BAECHLER added a comment -

          This changeset changes the way we load mails.
          We must check with as many phones as possible that there's no regressions on mail sync.
          We must also verify that this email transformation works with a lot of different emails.

          Show
          Matthieu EXT_BAECHLER added a comment - This changeset changes the way we load mails. We must check with as many phones as possible that there's no regressions on mail sync. We must also verify that this email transformation works with a lot of different emails.
          Hide
          Thomas HILAIRE added a comment - - edited

          A limitation is already known, the transformed email can be truncated too early see OP-142

          Show
          Thomas HILAIRE added a comment - - edited A limitation is already known, the transformed email can be truncated too early see OP-142
          Hide
          Jenkins Continuous Integration Server added a comment -

          SUCCESS: Integrated in opush-master-3.0 #15
          OP-108 rename HtmlToText to TextToHtml (thilaire: bdd38aaa47332ee7f2181aa300b2d1fe291051c5)

          • push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java
          • push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java
          • push-mail/src/test/java/org/obm/push/mail/transformer/TextToHtmlTest.java
          • push-mail/src/main/java/org/obm/push/OpushMailModule.java
          • push-mail/src/main/java/org/obm/push/mail/transformer/TextToHtml.java
            OP-108 rewrite test class using EasyMock Control (thilaire: 455727e6ce78a8fb03f2b2cd547b9494e1e47b47)
          • push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java
            OP-108 create a HtmlToText transformer and fix the selection policy (thilaire: bdffe368259b1f93cde29737a47755f620dc1e5a)
          • push-mail/pom.xml
          • push-mail/src/main/java/org/obm/push/mail/AnyMatchBodyPreferencePolicy.java
          • push-mail/src/test/java/org/obm/push/mail/AnyMatchBodyPreferencePolicyTest.java
          • push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java
          • push-mail/src/main/java/org/obm/push/OpushMailModule.java
          • push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java
          • push-mail/src/main/java/org/obm/push/mail/BodyPreferencePolicy.java
          • pom.xml
          • push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java
          • push-mail/src/main/java/org/obm/push/mail/MailTransformation.java
          Show
          Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master-3.0 #15 OP-108 rename HtmlToText to TextToHtml (thilaire: bdd38aaa47332ee7f2181aa300b2d1fe291051c5 ) push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java push-mail/src/test/java/org/obm/push/mail/transformer/TextToHtmlTest.java push-mail/src/main/java/org/obm/push/OpushMailModule.java push-mail/src/main/java/org/obm/push/mail/transformer/TextToHtml.java OP-108 rewrite test class using EasyMock Control (thilaire: 455727e6ce78a8fb03f2b2cd547b9494e1e47b47 ) push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java OP-108 create a HtmlToText transformer and fix the selection policy (thilaire: bdffe368259b1f93cde29737a47755f620dc1e5a ) push-mail/pom.xml push-mail/src/main/java/org/obm/push/mail/AnyMatchBodyPreferencePolicy.java push-mail/src/test/java/org/obm/push/mail/AnyMatchBodyPreferencePolicyTest.java push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java push-mail/src/main/java/org/obm/push/OpushMailModule.java push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java push-mail/src/main/java/org/obm/push/mail/BodyPreferencePolicy.java pom.xml push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java push-mail/src/main/java/org/obm/push/mail/MailTransformation.java
          Hide
          Jenkins Continuous Integration Server added a comment -

          SUCCESS: Integrated in opush-master #178
          OP-108 rename HtmlToText to TextToHtml (thilaire: ecafc75cb50591e689dcb2f89f7b4a4268a27494)

          • push-mail/src/main/java/org/obm/push/mail/transformer/TextToHtml.java
          • push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java
          • push-mail/src/main/java/org/obm/push/OpushMailModule.java
          • push-mail/src/test/java/org/obm/push/mail/transformer/TextToHtmlTest.java
          • push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java
            OP-108 rewrite test class using EasyMock Control (thilaire: 0687ccaee3f199879dea4335556b3d1e9c8c3cbe)
          • push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java
            OP-108 create a HtmlToText transformer and fix the selection policy (thilaire: f132d0d30165998aa239e45d05e7b50718e5f37e)
          • push-mail/pom.xml
          • pom.xml
          • push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java
          • push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java
          • push-mail/src/main/java/org/obm/push/mail/BodyPreferencePolicy.java
          • push-mail/src/test/java/org/obm/push/mail/AnyMatchBodyPreferencePolicyTest.java
          • push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java
          • push-mail/src/main/java/org/obm/push/OpushMailModule.java
          • push-mail/src/main/java/org/obm/push/mail/MailTransformation.java
          • push-mail/src/main/java/org/obm/push/mail/AnyMatchBodyPreferencePolicy.java
          Show
          Jenkins Continuous Integration Server added a comment - SUCCESS: Integrated in opush-master #178 OP-108 rename HtmlToText to TextToHtml (thilaire: ecafc75cb50591e689dcb2f89f7b4a4268a27494 ) push-mail/src/main/java/org/obm/push/mail/transformer/TextToHtml.java push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java push-mail/src/main/java/org/obm/push/OpushMailModule.java push-mail/src/test/java/org/obm/push/mail/transformer/TextToHtmlTest.java push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java OP-108 rewrite test class using EasyMock Control (thilaire: 0687ccaee3f199879dea4335556b3d1e9c8c3cbe ) push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java OP-108 create a HtmlToText transformer and fix the selection policy (thilaire: f132d0d30165998aa239e45d05e7b50718e5f37e ) push-mail/pom.xml pom.xml push-mail/src/test/java/org/obm/push/mail/transformer/HtmlToTextTest.java push-mail/src/test/java/org/obm/push/mail/MimePartSelectorTest.java push-mail/src/main/java/org/obm/push/mail/BodyPreferencePolicy.java push-mail/src/test/java/org/obm/push/mail/AnyMatchBodyPreferencePolicyTest.java push-mail/src/main/java/org/obm/push/mail/transformer/HtmlToText.java push-mail/src/main/java/org/obm/push/OpushMailModule.java push-mail/src/main/java/org/obm/push/mail/MailTransformation.java push-mail/src/main/java/org/obm/push/mail/AnyMatchBodyPreferencePolicy.java
          Hide
          Stephane COLSON added a comment -

          OK with version Opush 3.0.4-rc1 and OBM 3.0.0 (CentOS)
          Tested with iPad (iOS 8.1.2), iPhone (iOS 7.1.2) and Android 4.2.2 (FP1)

          Show
          Stephane COLSON added a comment - OK with version Opush 3.0.4-rc1 and OBM 3.0.0 (CentOS) Tested with iPad (iOS 8.1.2), iPhone (iOS 7.1.2) and Android 4.2.2 (FP1)

            People

            • Assignee:
              Matthieu EXT_BAECHLER
              Reporter:
              Stephane COLSON
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: