<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>3 Dec 2017 10:29:58 Z</lastBuildDate><pubDate>10 Nov 2017 16:16:26 Z</pubDate><description>Bonjour,&#13;
&#13;
Suite aux récents problèmes rencontré avec Gmail. Je cherche a externalisé l'envoi de mes mails.&#13;
&#13;
Pour cela j'ai trouver la solution MailGun ( https://www.mailgun.com/ ) qui permet d'envoyer des mails ( 10 000 gratuit par mois ) et d'avoir un retour sur l'état d'envoi et de lecture entre autre.&#13;
&#13;
MailGun étant RESTFull, j'aimerais travailler avec les Webservices REST sous Windev.&#13;
Mon code est faux. &#13;
Quelqu'un a déja travailer avec MailGun sous Windev ?&#13;
&#13;
&#13;
[code:wl]&#13;
MaSendBox,Message sont des chaînes&#13;
JSON est un Variant&#13;
JSON.authorization.Type 		=	"Basic Auth"&#13;
JSON.authorization.Username 	=	"api"&#13;
JSON.authorization.Password 	=	"MaCléDeCompte"&#13;
JSON.headers.Accept 			=	"text/json"&#13;
JSON.body.from 					=	"robot1@societe.fr"&#13;
JSON.body.to 					=	"baptiste@cloart.fr"&#13;
JSON.body.subject 				=	"test"&#13;
JSON.body.test					=	"if you see this, it works"&#13;
                                &#13;
Message							= 	VariantVersJSON(JSON)&#13;
Message 						=	Remplace(Message,"text\/json","text/json")&#13;
&#13;
MaSendBox 						= 	"MaSendBox"&#13;
&#13;
Envoi est un restRequête&#13;
Envoi.URL 						= 	ChaîneConstruit("https://api.mailgun.net/v3/%1/messages",MaSendBox)&#13;
Envoi.Méthode 					= 	httpPost&#13;
Envoi.Contenu 					= 	ChaîneVersUTF8(Message)&#13;
&#13;
Reponse est un restRéponse 		=	RESTEnvoie(Envoi)&#13;
SI ErreurDétectée = Vrai ALORS&#13;
	Erreur(ErreurInfo(errMessage))&#13;
SINON&#13;
	Info(Reponse.Contenu)&#13;
FIN&#13;
[/code]&#13;
&#13;
--&#13;
Baptiste CLOART&#13;
Freelance&#13;
b.cloart@blv-tech.com&#13;
06.88.74.80.65&#13;
www.linkedin.com/in/cloart&#13;
www.blv-tech.com</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp</link><title>Windev &amp; MailGun</title><managingEditor>moderateur@pcsoft.fr (Le modérateur)</managingEditor><webMaster>webmaster@pcsoft.fr (Le Webmaster)</webMaster><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-212412/read.awp</comments><pubDate>3 Dec 2017 10:29:58 Z</pubDate><description>Bonjour,&#13;
&#13;
Voici mon code pour envoyer des mails via GMAIL avec les API Google :&#13;
&#13;
https://forum.pcsoft.fr/fr-FR/pcsoft.fr.win…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-212412/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-212412/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211895/read.awp</comments><pubDate>19 Nov 2017 11:40:03 Z</pubDate><description>Complément pour envoi de pièces jointes via MailGun :&#13;
&#13;
[code:wl]&#13;
HTTPCréeFormulaire("MAIL")&#13;
HTTPAjouteParamètre("MAIL", "htm…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211895/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211895/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211749/read.awp</comments><pubDate>15 Nov 2017 08:53:58 Z</pubDate><description>up&#13;
&#13;
--&#13;
Baptiste CLOART&#13;
Freelance&#13;
b.cloart@blv-tech.com&#13;
06.88.74.80.65&#13;
www.linkedin.com/in/cloart&#13;
www.blv-tech.com</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211749/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211749/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211725/read.awp</comments><pubDate>14 Nov 2017 16:49:51 Z</pubDate><description>Bonjour,&#13;
&#13;
Voici mon code pour l'envoi multi destinatire avec corps HTML via MailGun :&#13;
&#13;
[code:wl]&#13;
MaSendBox		est une chaîne	…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211725/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211725/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211627/read.awp</comments><pubDate>12 Nov 2017 10:01:47 Z</pubDate><description>Merci J.P,çà marche !&#13;
&#13;
Je vais chercher pour le muti-destinataire. ( CC,CCi ) et pour le corps en HTML&#13;
&#13;
--&#13;
Baptiste CLOART&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211627/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211627/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Jurassic Pork</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211625/read.awp</comments><pubDate>12 Nov 2017 08:17:27 Z</pubDate><description>hello,&#13;
Baptiste - BLV TECH a écrit : &#13;
&gt; Bonjour,&#13;
&gt; &#13;
&gt; Suite aux récents problèmes rencontré avec Gmail. Je cherche a externa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211625/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211625/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Olivier BLAIS</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211622/read.awp</comments><pubDate>12 Nov 2017 04:31:06 Z</pubDate><description>Bonjour,&#13;
&#13;
MailJet est très bien parait-il.&#13;
C'est dans mes tâches à faire...Prochainement.&#13;
&#13;
Si tu pouvais nous fournir ton c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211622/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211622/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>Baptiste - BLV TECH</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211612/read.awp</comments><pubDate>11 Nov 2017 12:29:26 Z</pubDate><description>Bonjour Francois,&#13;
&#13;
Peux tu me fournir ton code pour l'envoi de mail avec Mailijet ?&#13;
&#13;
--&#13;
Baptiste CLOART&#13;
Freelance&#13;
b.cloar…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211612/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211612/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item><item><author>François SCHAAL</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211610/read.awp</comments><pubDate>11 Nov 2017 10:57:41 Z</pubDate><description>Bonjour Baptiste,&#13;
&#13;
Perso j'utilise Mailjet (à partir de 6000 emails/gratuits mois) avec les fonctions de base des Emails.&#13;
&#13;
-…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211610/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun-211610/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windev/211594-windev-mailgun/read.awp">Windev &amp; MailGun</source><title>Re: Windev &amp; MailGun</title></item></channel></rss>
