<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 Jun 2020 15:09:07 Z</lastBuildDate><pubDate>22 Nov 2019 10:50:53 Z</pubDate><description>bonjour, &#13;
mon besoin, j'ai une table (mailpalette) &#13;
https://hostimage.windev.io/images/Annotation20191122104713_ecff26f406c943d07b42b88907aa9349.png &#13;
&#13;
je doit parcourir cette table est envoyer un mail pour chaque  enregistrement dans la table en utilisant l’e-mail, le nom et le commentaire de la table pour mon mail.  &#13;
&#13;
j'ai fait cela, mais cela ne marche pas. &#13;
En debug il passe directement de "pour tout smail " au dernier fin ? &#13;
&#13;
si quelqu'un a une idée  de l'endroit ou je me trompe. &#13;
&#13;
[code:wl]&#13;
mailpalette est une Structure&#13;
	sCODE_CLIENT est une chaîne&#13;
	sNOM_CLIENT est une chaîne&#13;
	sEMAIL_ADMINCLI est une chaîne&#13;
	sCOMMENTAIRE_ADMINCLI est une chaîne&#13;
		&#13;
FIN&#13;
tabmails est un tableau de mailpalette&#13;
&#13;
POUR TOUT  sMail DE tabmails &#13;
		sText est une chaîne&#13;
	sText="Bonjour "+mailpalette.nom_client+" Pouvez-vous nous envoyer votre décompte du solde de palettes Europe, dû pour le mois dernier" +" "+mailpalette.commentaire&#13;
	&#13;
	//OUVERTURE d'une session SMTP POUR envoi du mail &#13;
	sNomuser est une chaîne="******"&#13;
	sMotDePAsse est une chaîne="******"&#13;
	sServeurSMTP est une chaîne="smtp.office365.com"&#13;
	EmailOuvreSessionSMTP(sNomuser,sMotDePAsse,"smtp.office365.com",587,Faux,emailOptionSécuriséTLS)&#13;
		SI ErreurDétectée ALORS&#13;
		Erreur()&#13;
		RETOUR&#13;
		FIN&#13;
	&#13;
	//Remise à zéro des variables Email&#13;
	EmailRAZ()&#13;
	&#13;
	//Expéditeur du message&#13;
	Email.Expéditeur = "support@ducournau.fr"&#13;
	//Destinataire(s) du message&#13;
	Email.Destinataire[1] = mailpalette.Adresse_email&#13;
	Email.NbDestinataire = 1&#13;
&#13;
	//Sujet et contenu du message&#13;
	Email.Sujet = "Merci de nous envoyer votre decompte palette ducournau transport" &#13;
	Email.HTML = sText&#13;
	Sablier(Vrai)&#13;
	//Envoi du message&#13;
	SI EmailEnvoieMessage(sNomuser)=Faux ALORS&#13;
	Erreur()&#13;
	ErreurInfo(errMessage)&#13;
	&#13;
	FIN&#13;
&#13;
FIN&#13;
[/code]</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp</link><title>parcourire une table pour envpyer un mail</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>bmlamine31</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-240793/read.awp</comments><pubDate>28 Jun 2020 15:09:07 Z</pubDate><description>Grand merci à toi l'ami le code fonction pour moi..</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-240793/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-240793/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>alezan</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234820/read.awp</comments><pubDate>22 Nov 2019 17:51:23 Z</pubDate><description>alors pour la postérité et surtout pour ceux qui tomberais sur se poste dans le future. &#13;
ci dessous mon code final qui fonction…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234820/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234820/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>alezan</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234814/read.awp</comments><pubDate>22 Nov 2019 15:11:36 Z</pubDate><description>François C. a écrit : &#13;
&gt; @alezan&#13;
&gt; En reprenant les base de ton code, tu peux faire quelque chose comme ça (c'est une base.. a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234814/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234814/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234813/read.awp</comments><pubDate>22 Nov 2019 14:48:32 Z</pubDate><description>@alezan&#13;
En reprenant les base de ton code, tu peux faire quelque chose comme ça (c'est une base.. a améliorer par la suite)&#13;
&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234813/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234813/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>alezan</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234812/read.awp</comments><pubDate>22 Nov 2019 14:45:34 Z</pubDate><description>merci, c'est cette doc la que je chercher au départ. et je n'avais trouver que celle ci  https://doc.pcsoft.fr/fr-FR/?1510016&amp;na…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234812/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234812/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>ROMULUS001</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234809/read.awp</comments><pubDate>22 Nov 2019 14:23:47 Z</pubDate><description>Petite parenthèse, ffin de mettre en avant un point quand on code en wlangage, la notion de table, ce n'est pas ce qu'on trouve …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234809/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234809/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>alezan</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234806/read.awp</comments><pubDate>22 Nov 2019 14:06:48 Z</pubDate><description>je débute, mais depuis 2 ans déjà,  j'ai deja fait  des petites application facile. &#13;
&#13;
j'ai aussi fait l'auto formation&#13;
quelqu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234806/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234806/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item><item><author>ROMULUS001</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234792/read.awp</comments><pubDate>22 Nov 2019 11:37:32 Z</pubDate><description>Bonjour, oui c'est normal, car vous ne faites pas appel au fichier de données mailpalette, mais à une classe qui elle est ... VI…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234792/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail-234792/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234790-parcourire-table-pour-envpyer-mail/read.awp">parcourire une table pour envpyer un mail</source><title>Re: parcourire une table pour envpyer un mail</title></item></channel></rss>
