<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Apr 2019 17:25:09 Z</lastBuildDate><pubDate>15 Apr 2019 09:46:28 Z</pubDate><description>Les paramétrés du compte email sont bons mais aucun email n'est envoyé&#13;
:(&#13;
&#13;
&#13;
[code:wl]&#13;
dDte1,dDte2  est une Date&#13;
dDte1 = DateVersChaîne(DateSys(),"JJ/MM/AA")&#13;
dDte2 = DateVersJourEnLettre(DateSys())&#13;
CAHT, CATTC, CATVA, CARemise, CACredit, CAComptant, CAMarge sont des numériques&#13;
TxCo, TxCr sont des numériques&#13;
TxFreq, PanierM sont des numériques&#13;
&#13;
&#13;
CAHT = "800000";CARemise = "10000";CACredit = "240000";CAComptant = "600000";CATVA = "50000";CATTC = "840000"; CAMarge = "45000"&#13;
TxCo = ArrondiSupérieur(Val(CAComptant/CATTC)*100,0)&#13;
TxCr= ArrondiInférieur(Val(CACredit/CATTC)*100,0)&#13;
TxFreq = "6"&#13;
PanierM = "4500"&#13;
&#13;
NomStructure est une chaîne = "XXXXXXXXX"&#13;
&#13;
&#13;
EntenteMail est une chaîne 		= 	"&lt;center&gt;&lt;b&gt;&lt;font color=#86af49&gt;"+NomStructure+"&lt;/font&gt;&lt;/b&gt;&lt;br&gt;Récapitulatif des Activités du &lt;b&gt;&lt;font color=#d64161&gt;"+dDte2+"&lt;/font&gt;&lt;/b&gt;&lt;hr&gt;"&#13;
CorpsMail1 est une chaîne 		= 	"&lt;u&gt;CA HT&lt;/u&gt;  : "+CAHT+" Frs&lt;br&gt; &lt;u&gt;REMISE&lt;/u&gt; : "+CARemise+" Frs&lt;br&gt;&lt;u&gt;TVA&lt;/u&gt;  : "+CATVA+" Frs&lt;br&gt;&lt;u&gt;CA TTC&lt;/u&gt; : &lt;font color=#DC143C&gt;&lt;b&gt;"+CATTC+" Frs&lt;/font&gt;&lt;/b&gt;&lt;br&gt; &lt;u&gt;MARGE &lt;/u&gt; : &lt;font color=#191970&gt;&lt;b&gt;"+CAMarge+" Frs&lt;/b&gt;&lt;/font&gt;"&#13;
CorpsMail2 est une chaîne 		= 	"&lt;br&gt;&lt;br&gt;&lt;font color=#008080&gt;&lt;b&gt;"+ TxCo +" %&lt;/b&gt;&lt;/font&gt;&amp;nbsp;&amp;nbsp;COMPTANT : &lt;font color=#008080&gt;&lt;b&gt;"+CAComptant+" Frs &lt;/b&gt;&lt;/font&gt;&lt;br&gt;&lt;font color=800080&gt;&lt;b&gt;"+ TxCr +" %&lt;/b&gt;&lt;/font&gt; &amp;nbsp;&amp;nbsp;CREDIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: &lt;font color=800080&gt;&lt;b&gt;"+CACredit+" Frs&lt;/b&gt;&lt;/font&gt;"&#13;
CorpsMail3 est une chaîne 		= 	"&lt;br&gt;&lt;br&gt;"+" Nbre Vente : &lt;font color=#191970&gt;"+TxFreq+" &lt;/font&gt;&amp;nbsp;| &amp;nbsp;Panier Moyen : &lt;font color=#191970&gt;"+PanierM+" Frs &lt;/font&gt;&lt;hr&gt;"&#13;
CorpsMail4 est une chaîne 		= 	"VERSEMENT : &lt;font color=#191970&gt;"+367000+" Frs&lt;/font&gt;&lt;br&gt;ECART&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;font color=#DC143C&gt;"+200+" Frs &lt;/font&gt;"&#13;
SignatureMail est une chaîne 	= 	"&lt;br&gt;&lt;br&gt;&lt;font color=#50394c&gt;xxxx® "+AnnéeEnCours()+" | www.xxxx.com&lt;/font&gt;&lt;/center&gt;"&#13;
NomMail est une chaîne = "xxxx@xxxxxi"&#13;
&#13;
EmailRAZ()&#13;
EmailChangeTimeOut(10)&#13;
MonMail est une chaîne =  EntenteMail + CorpsMail1 + CorpsMail2+ CorpsMail3 +CorpsMail4 + SignatureMail&#13;
&#13;
SI EmailOuvreSessionSMTP(NomMail,"xxxxx","mail.xxxxxxxi","587") = Vrai ALORS&#13;
	Info("Session Ouverte")&#13;
	Email.Expéditeur = "xxxxx@xxxxxxx"&#13;
	Email.Destinataire[1] = "destinat@icloud.com"&#13;
	Email.NbDestinataire = 1&#13;
	Email.Sujet =  "RAPPORT D'ACTIVITE DU "+dDte1&#13;
	Email.HTML = MonMail&#13;
	Email.NbAttache = 0&#13;
	SI EmailEnvoieMessage(NomMail) = Vrai ALORS&#13;
		Info("Mail Envoyé")&#13;
	SINON&#13;
		EmailEnvoieMessage(NomMail)&#13;
	FIN	&#13;
SINON&#13;
	Erreur(ErreurInfo(errComplet))&#13;
	&#13;
FIN&#13;
[/code]&#13;
&#13;
--&#13;
PS : I Love Windev</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp</link><title>ENVOIE EMIAL HTML SMTP</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>THINK</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229510/read.awp</comments><pubDate>16 Apr 2019 17:25:09 Z</pubDate><description>Jean-Pierre a écrit : &#13;
&gt; Bonjour,&#13;
&gt; &#13;
&gt; Votre code a l'air bien construit, mais vous ne dites rien de votre environnement :&#13;
&gt;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229510/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229510/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp">ENVOIE EMIAL HTML SMTP</source><title>Re: ENVOIE EMIAL HTML SMTP</title></item><item><author>e.allain</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229498/read.awp</comments><pubDate>16 Apr 2019 11:21:22 Z</pubDate><description>THINK a écrit : &#13;
&gt; [code:wl]&#13;
&gt; SI EmailOuvreSessionSMTP(NomMail,"xxxxx","mail.xxxxxxxi","587") = Vrai ALORS&#13;
&gt; [/code]&#13;
&#13;
Bonj…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229498/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229498/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp">ENVOIE EMIAL HTML SMTP</source><title>Re: ENVOIE EMIAL HTML SMTP</title></item><item><author>jean.pierre.bloch</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229490/read.awp</comments><pubDate>16 Apr 2019 09:57:54 Z</pubDate><description>Bonjour,&#13;
&#13;
Votre code a l'air bien construit, mais vous ne dites rien de votre environnement :&#13;
Quel est le serveur SMTP ?&#13;
Le …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229490/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229490/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp">ENVOIE EMIAL HTML SMTP</source><title>Re: ENVOIE EMIAL HTML SMTP</title></item><item><author>THINK</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229489/read.awp</comments><pubDate>16 Apr 2019 09:31:09 Z</pubDate><description>Chambiges a écrit : &#13;
&gt; Un p'tit bonjour + un p'tit merci ca fait pas de mal&#13;
&gt; Bonjour,&#13;
&gt; Il manque les codes d'acces au serve…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229489/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229489/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp">ENVOIE EMIAL HTML SMTP</source><title>Re: ENVOIE EMIAL HTML SMTP</title></item><item><author>Chambiges</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229464/read.awp</comments><pubDate>15 Apr 2019 12:51:21 Z</pubDate><description>Un p'tit bonjour + un p'tit merci ca fait pas de mal&#13;
Bonjour,&#13;
Il manque les codes d'acces au serveur (AdresseSertveur, nomConn…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229464/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp-229464/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/229451-envoie-emial-html-smtp/read.awp">ENVOIE EMIAL HTML SMTP</source><title>Re: ENVOIE EMIAL HTML SMTP</title></item></channel></rss>
