<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>15 Oct 2019 13:35:40 Z</lastBuildDate><pubDate>15 Oct 2019 08:00:30 Z</pubDate><description>Bonjour,&#13;
&#13;
j'aurais besoin, je pense, d'une petite vérification de mon code car cela ne marche plus :D&#13;
&#13;
[code:wl]&#13;
SI COMBO_Classe="" ALORS&#13;
	Info("veuillez choisir la classe")&#13;
	SINON	&#13;
	Absences.Eleve=TABLE_REQ_je............a.COL_JNomPrenom&#13;
  	Absences.Date=DateHeureSys()&#13;
	Absences.Type="Absent"&#13;
	Absences.Durée="180"&#13;
 	Absences.Declarant=gpwRecupInfoUtilisateur(gpwInfoNom)+ " " + gpwRecupInfoUtilisateur(gpwInfoPrénom)&#13;
	HAjoute(Absences)&#13;
	Info("Absence enregistrée")&#13;
	&#13;
FIN&#13;
sMaildest est une chaîne&#13;
sDest est une chaîne&#13;
&#13;
 HLitRecherche(Jeunes,JNomPrenom,COL_JNomPrenom)&#13;
	SI HTrouve() ALORS&#13;
		SI Jeunes.ENomPrenom&lt;&gt;""ALORS&#13;
		Jeunes.ENomPrenom=sDest&#13;
		HLitRecherche(salarie,SNomPrenom,sDest)&#13;
		SI HTrouve() ALORS&#13;
			salarie.Mail=sMaildest&#13;
		SINON&#13;
			Jeunes.ExNomPrenom=sDest&#13;
			HLitRecherche(EducateurExt,ExNomPrenom,sDest)&#13;
			SI HTrouve() ALORS&#13;
				EducateurExt.Mail=sMaildest	&#13;
		FIN&#13;
		&#13;
		FIN&#13;
			&#13;
		FIN&#13;
	FIN&#13;
&#13;
sJourheure est une chaîne&#13;
sJourheure=DateVersChaîne(DateSys(),"JJ/MM/AAAA")&#13;
&#13;
Email.Expéditeur = "xxxx@xxxx.fr"&#13;
Email.Destinataire = sMaildest&#13;
Email.NbDestinataire = 1&#13;
&#13;
Email.Sujet = TABLE_REQ_je...........a.COL_JNomPrenom&#13;
Email.Message = "Bonjour, "+sDest+". Le" + " " + sJourheure + " " +  TABLE_REQ_je............a.COL_JNomPrenom + " est signalé absent de l'école. Veuillez fournir un justificatif à l'adresse suivante xxx@xxxx.fr. Cordialement."&#13;
&#13;
&#13;
MaSession est un entier&#13;
MaSession = EmailOuvreSession("outlook")&#13;
&#13;
SI MaSession &lt;&gt;0 ALORS&#13;
	&#13;
	EmailEnvoieMessage(MaSession, Vrai)&#13;
	&#13;
	EmailFermeSession(MaSession)&#13;
FIN&#13;
[/code]&#13;
&#13;
j'explique mon sujet.&#13;
&#13;
Dans un bouton, j'intègre ce code, afin de gérer des absences et d'envoyer un mail automatique.&#13;
&#13;
tant que je ne cherchais pas le destinataire cela me lançait bien la fenêtre du mail rempli. mais depuis que je cherche le destinataire, cela ne fonctionne plus, j'ai un stop à emailenvoiemessage qui m'indique : exécution en 16 bits, ou nom de fichier attaché inconnu.&#13;
&#13;
SI qlq un a une idée, ou voit mon erreur de syntaxe.&#13;
&#13;
Merci&#13;
&#13;
--&#13;
Merci ;) Franck</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook/read.awp</link><title>envoi mail outlook</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>franck.lancia</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233696/read.awp</comments><pubDate>15 Oct 2019 13:35:40 Z</pubDate><description>oui oui, exactement ca, a force d'ecrire et reecrire, par moment je ne fais plus attention, et c'etait tout simplement ca qui me…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233696/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233696/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook/read.awp">envoi mail outlook</source><title>Re: envoi mail outlook</title></item><item><author>didier.antheaume</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233684/read.awp</comments><pubDate>15 Oct 2019 10:15:34 Z</pubDate><description>Bonjour,&#13;
&#13;
J'ai la sensation qu'il y a une inversion sur l'affectation aux variables : j'aurais mis &#13;
sDest=Jeunes.ENomPrenom p…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233684/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233684/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook/read.awp">envoi mail outlook</source><title>Re: envoi mail outlook</title></item><item><author>franck.lancia</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233679/read.awp</comments><pubDate>15 Oct 2019 08:39:24 Z</pubDate><description>j'ai deja corrigé comme ca&#13;
&#13;
[code:wl]&#13;
SI COMBO_Classe="" ALORS&#13;
	Info("veuillez choisir la classe")&#13;
	SINON	&#13;
	Absences.Eleve…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233679/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook-233679/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233676-envoi-mail-outlook/read.awp">envoi mail outlook</source><title>Re: envoi mail outlook</title></item></channel></rss>
