<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>2 May 2019 19:17:34 Z</lastBuildDate><pubDate>2 May 2019 17:29:26 Z</pubDate><description>Pour récupérer mes e mails depuis le serveur gmail, je met ce bout de code .&#13;
&#13;
[code:wl]&#13;
SAI_ContenuMail =Email.Message&#13;
POUR I = 1 _À_ Email.NbAttache&#13;
SI EmailSauveFichierAttaché(Email.Attache,RpiecesJointes + Email.Attache)=Vrai ALORS&#13;
&#13;
CID = "cid:" + Email.IdentifiantAttache&#13;
Email.HTML = Remplace(Email.HTML, CID, "file:" + RpiecesJointes + Email.Attache)&#13;
SINON&#13;
Erreur(ErreurInfo())&#13;
FIN&#13;
FIN&#13;
&#13;
NomFichier = RpiecesJointes + "Joints.htm"&#13;
&#13;
hFic = fOuvre(NomFic, foCréation + foEcriture)&#13;
SI hFic&lt;&gt; -1 ALORS&#13;
fEcrit(hFic, Email.HTML, Taille(Email.HTML))&#13;
fFerme(hFic)&#13;
FIN&#13;
HTML_PieceJointe=NomFichier&#13;
[/code]&#13;
&#13;
&#13;
Mon problème je n'arrive pas à lire le contenu de la pièce jointe dans un champ HTML, mais le contenu de mon mail est ca marche&#13;
Alors je débogue mon code je trouve que la ligne "Email.IdentifiantAttache" son contenu est vide&#13;
Merci de me donner un piste</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes/read.awp</link><title>Afficher le contenu des pièces jointes</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>notrefaq2109</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229860/read.awp</comments><pubDate>2 May 2019 19:17:34 Z</pubDate><description>Christophe pour ton retour&#13;
&#13;
j'ai déjà indicé les propretés (juste un oubli) est pourtant toujours le même problème&#13;
&#13;
SAI_Cont…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229860/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229860/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes/read.awp">Afficher le contenu des pièces jointes</source><title>Re: Afficher le contenu des pièces jointes</title></item><item><author>DELFI INFO-Chris</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229858/read.awp</comments><pubDate>2 May 2019 17:45:31 Z</pubDate><description>bonjour Faq,&#13;
&#13;
les propriétés .Attache et IdentifiantAttache sont des tableaux, il faut donc les indicer pour accéder à leurs v…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229858/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes-229858/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229857-afficher-contenu-pieces-jointes/read.awp">Afficher le contenu des pièces jointes</source><title>Re: Afficher le contenu des pièces jointes</title></item></channel></rss>
