<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.blaxeen.com/index.php?action=history&amp;feed=atom&amp;title=Mails_envoie_windows</id>
	<title>Mails envoie windows - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blaxeen.com/index.php?action=history&amp;feed=atom&amp;title=Mails_envoie_windows"/>
	<link rel="alternate" type="text/html" href="https://wiki.blaxeen.com/index.php?title=Mails_envoie_windows&amp;action=history"/>
	<updated>2026-04-18T12:38:55Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.blaxeen.com/index.php?title=Mails_envoie_windows&amp;diff=1754&amp;oldid=prev</id>
		<title>217.174.199.129 le 9 août 2012 à 13:58</title>
		<link rel="alternate" type="text/html" href="https://wiki.blaxeen.com/index.php?title=Mails_envoie_windows&amp;diff=1754&amp;oldid=prev"/>
		<updated>2012-08-09T13:58:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 9 août 2012 à 13:58&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ce script permet d&amp;#039;envoyer un mail sous windows (les unix tools doivent etre installés), Si le premier serveur ne passe pas, le second est &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;essaye&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ce script permet d&amp;#039;envoyer un mail sous windows (les unix tools doivent etre installés), Si le premier serveur ne passe pas, le second est &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;essayé.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;On cherche accepted, ce qui indique que le mail est accepte. Je place dans mail.bat, le nombre de fois ou accepted a été vu dans le fichier. Si il est vu (donc si le mail est parti), &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;il est a 1, sinon a 0. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ensuite, on lance mail.bat, ce qui a pour consequence de setter la variable MAIL a 1 (ou 0 si le mail n’est pas « accepted »)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Enfin, on teste la valeur de MAIL, si c’est egale a 0 (donc pas « accepted », donc pas envoye), je retente l’envoi du mail, si il n’est pas egale a 0 (donc « accepted »), le mail n’est &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pas reemis.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>217.174.199.129</name></author>
	</entry>
	<entry>
		<id>https://wiki.blaxeen.com/index.php?title=Mails_envoie_windows&amp;diff=1750&amp;oldid=prev</id>
		<title>217.174.199.129 : Page créée avec « Ce script permet d&#039;envoyer un mail sous windows (les unix tools doivent etre installés), Si le premier serveur ne passe pas, le second est essaye  &lt;pre&gt; D:\Supervision_ba... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.blaxeen.com/index.php?title=Mails_envoie_windows&amp;diff=1750&amp;oldid=prev"/>
		<updated>2012-08-09T10:39:46Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « Ce script permet d&amp;#039;envoyer un mail sous windows (les unix tools doivent etre installés), Si le premier serveur ne passe pas, le second est essaye  &amp;lt;pre&amp;gt; D:\Supervision_ba... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ce script permet d&amp;#039;envoyer un mail sous windows (les unix tools doivent etre installés), Si le premier serveur ne passe pas, le second est essaye&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
D:\Supervision_backups\tools\wsendmail.exe -s&amp;quot;Backup S2Y : JOB1&amp;quot; -d -C -fbackup@agarik.com backup@agarik.com -S172.26.0.9 -tD:\Supervision_backups\Temp\job1\logs.txt 2&amp;gt; %TEMP%\mail.log&lt;br /&gt;
&lt;br /&gt;
gecho.exe -n set MAIL= &amp;gt; %TEMP%\mail.bat&lt;br /&gt;
cat.exe %TEMP%\mail.log | grep.exe -c &amp;quot;accepted&amp;quot; &amp;gt;&amp;gt; %TEMP%\mail.bat&lt;br /&gt;
call %TEMP%\mail.bat&lt;br /&gt;
&lt;br /&gt;
if %MAIL% EQU 0 D:\Supervision_backups\tools\wsendmail.exe -s&amp;quot;Backup S2Y : JOB1&amp;quot; -C -fbackup@agarik.com backup@agarik.com -S192.168.26.9 -tD:\Supervision_backups\Temp\job1\logs.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Script]]&lt;/div&gt;</summary>
		<author><name>217.174.199.129</name></author>
	</entry>
</feed>