<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.bdsa.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David</id>
	<title>BDSA WIKI - Contributions [fr]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bdsa.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David"/>
	<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Sp%C3%A9cial:Contributions/David"/>
	<updated>2026-09-11T02:43:30Z</updated>
	<subtitle>Contributions</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=22</id>
		<title>Icones</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=22"/>
		<updated>2023-12-01T14:07:51Z</updated>

		<summary type="html">&lt;p&gt;David : ajout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cette page répertorie les bibliothèques d&#039;icônes à disposition pour un usage web principalement mais aussi print quand les icones sont vectoriels :&lt;br /&gt;
&lt;br /&gt;
* Ionicons&amp;lt;ref&amp;gt;https://ionic.io/ionicons/usage&amp;lt;/ref&amp;gt; - icones de Ionic&lt;br /&gt;
* Heroicons&amp;lt;ref&amp;gt;https://heroicons.com/&amp;lt;/ref&amp;gt; - librairie d&#039;icone en relation avec tailwind&lt;br /&gt;
* SvgRepo&amp;lt;ref&amp;gt;https://www.svgrepo.com/&amp;lt;/ref&amp;gt; - vector icons&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Git_:_Supprimer_fichier_de_tous_les_commit&amp;diff=21</id>
		<title>Git : Supprimer fichier de tous les commit</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Git_:_Supprimer_fichier_de_tous_les_commit&amp;diff=21"/>
		<updated>2023-12-01T09:50:20Z</updated>

		<summary type="html">&lt;p&gt;David : Création&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cas concret d&#039;utilisation : un fichier a été supprimé du FS mais toujours présent dans le repository.&lt;br /&gt;
&lt;br /&gt;
Cette command va supprimer le fichier du repository ainsi que ses références au sein des commits.&lt;br /&gt;
&lt;br /&gt;
Commande : git filter-branch&amp;lt;ref&amp;gt;https://git-scm.com/docs/git-filter-branch&amp;lt;/ref&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
git filter-branch -f --index-filter &#039;git rm --cached --ignore-unmatch mon_fichier.ext&#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;!-- Lets you rewrite Git revision history by rewriting the branches mentioned in the &amp;lt;rev-list options&amp;gt;, applying custom filters on each revision. Those filters can modify each tree (e.g. removing a file or running a perl rewrite on all files) or information about each commit. Otherwise, all information (including original commit times or merge information) will be preserved. --&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=PHP_:_Caract%C3%A8res_de_formattage_de_date&amp;diff=20</id>
		<title>PHP : Caractères de formattage de date</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=PHP_:_Caract%C3%A8res_de_formattage_de_date&amp;diff=20"/>
		<updated>2023-11-29T09:10:42Z</updated>

		<summary type="html">&lt;p&gt;David : Création&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Caractères pour le paramètre &amp;lt;code&amp;gt;format&amp;lt;/code&amp;gt;&lt;br /&gt;
!Description&lt;br /&gt;
!Exemple de valeurs retournées&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Jour&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;d&amp;lt;/code&amp;gt;&lt;br /&gt;
|Jour du mois, sur deux chiffres (avec un zéro initial)&lt;br /&gt;
|&amp;lt;code&amp;gt;01&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;31&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt;&lt;br /&gt;
|Jour de la semaine, en trois lettres (et en anglais - par défaut : en anglais, ou sinon, dans la langue locale du serveur)&lt;br /&gt;
|&amp;lt;code&amp;gt;Mon&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;Sun&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;j&amp;lt;/code&amp;gt;&lt;br /&gt;
|Jour du mois sans les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;31&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;l&amp;lt;/code&amp;gt; (&#039;L&#039; minuscule)&lt;br /&gt;
|Jour de la semaine, textuel, version longue, en anglais&lt;br /&gt;
|&amp;lt;code&amp;gt;Sunday&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;Saturday&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;N&amp;lt;/code&amp;gt;&lt;br /&gt;
|Représentation numérique ISO 8601 du jour de la semaine&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (pour Lundi) à &amp;lt;code&amp;gt;7&amp;lt;/code&amp;gt; (pour Dimanche)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;&lt;br /&gt;
|Suffixe ordinal d&#039;un nombre pour le jour du mois, en anglais, sur deux lettres&lt;br /&gt;
|&amp;lt;code&amp;gt;st&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;nd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;rd&amp;lt;/code&amp;gt; ou            &amp;lt;code&amp;gt;th&amp;lt;/code&amp;gt;.  Fonctionne bien avec &amp;lt;code&amp;gt;j&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;w&amp;lt;/code&amp;gt;&lt;br /&gt;
|Jour de la semaine au format numérique&lt;br /&gt;
|&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (pour dimanche) à &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt; (pour samedi)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt;&lt;br /&gt;
|Jour de l&#039;année&lt;br /&gt;
|&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;365&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Semaine&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;W&amp;lt;/code&amp;gt;&lt;br /&gt;
|Numéro de semaine dans l&#039;année ISO 8601, les semaines commencent            le lundi&lt;br /&gt;
|Exemple : &amp;lt;code&amp;gt;42&amp;lt;/code&amp;gt; (la 42ème semaine de l&#039;année)&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Mois&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;F&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mois, textuel, version longue; en anglais, comme            &amp;lt;code&amp;gt;January&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;December&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;January&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;December&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mois au format numérique, avec zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;01&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;12&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;M&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mois, en trois lettres, en anglais&lt;br /&gt;
|&amp;lt;code&amp;gt;Jan&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;Dec&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt;&lt;br /&gt;
|Mois sans les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;12&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;t&amp;lt;/code&amp;gt;&lt;br /&gt;
|Nombre de jours dans le mois&lt;br /&gt;
|&amp;lt;code&amp;gt;28&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;31&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Année&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;L&amp;lt;/code&amp;gt;&lt;br /&gt;
|Est ce que l&#039;année est bissextile&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; si bissextile, &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; sinon.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;o&amp;lt;/code&amp;gt;&lt;br /&gt;
|La numérotation de semaine dans l&#039;année ISO 8601. C&#039;est la même valeur que            &amp;lt;code&amp;gt;Y&amp;lt;/code&amp;gt;, excepté si le numéro de la semaine ISO            (&amp;lt;code&amp;gt;W&amp;lt;/code&amp;gt;) appartient à l&#039;année précédente ou suivante,            cette année sera utilisée à la place.&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;1999&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;2003&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt;&lt;br /&gt;
|Une représentation numérique complète étendue d&#039;une année, d&#039;au moins 4 chiffres,            avec un &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; pour les années avant l&#039;ère commune            et un &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; pour les années de l&#039;ère commune.&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;-0055&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;+0787&amp;lt;/code&amp;gt;,            &amp;lt;code&amp;gt;+1999&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;+10191&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;x&amp;lt;/code&amp;gt;&lt;br /&gt;
|Une représentation numérique complète étendue si nécessaire,            ou une représentation numérique complète standard si possible (comme &amp;lt;code&amp;gt;Y&amp;lt;/code&amp;gt;).            Au moins quatre chiffres. Les années antérieures à l&#039;ère commune sont préfixées par un &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt;.            Les années au-delà (et y compris) du &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt; sont préfixées par un &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt;.&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;-0055&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0787&amp;lt;/code&amp;gt;,            &amp;lt;code&amp;gt;1999&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;+10191&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;Y&amp;lt;/code&amp;gt;&lt;br /&gt;
|Une représentation numérique complète d&#039;une année, au moins 4 chiffres, avec &amp;lt;code&amp;gt;-&amp;lt;/code&amp;gt; pour les années av. J.-C.&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;-0055&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;0787&amp;lt;/code&amp;gt;,            &amp;lt;code&amp;gt;1999&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;2003&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;10191&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;&lt;br /&gt;
|Année sur 2 chiffres&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;99&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;03&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Heure&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;a&amp;lt;/code&amp;gt;&lt;br /&gt;
|Ante meridiem et Post meridiem en minuscules&lt;br /&gt;
|&amp;lt;code&amp;gt;am&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;pm&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt;&lt;br /&gt;
|Ante meridiem et Post meridiem en majuscules&lt;br /&gt;
|&amp;lt;code&amp;gt;AM&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;PM&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;B&amp;lt;/code&amp;gt;&lt;br /&gt;
|Heure Internet Swatch&lt;br /&gt;
|&amp;lt;code&amp;gt;000&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;g&amp;lt;/code&amp;gt;&lt;br /&gt;
|Heure, au format 12h, sans les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;12&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;G&amp;lt;/code&amp;gt;&lt;br /&gt;
|Heure, au format 24h, sans les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;23&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;h&amp;lt;/code&amp;gt;&lt;br /&gt;
|Heure, au format 12h, avec les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;01&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;12&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;H&amp;lt;/code&amp;gt;&lt;br /&gt;
|Heure, au format 24h, avec les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;00&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;23&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;&lt;br /&gt;
|Minutes avec les zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;00&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;59&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;s&amp;lt;/code&amp;gt;&lt;br /&gt;
|Secondes avec zéros initiaux&lt;br /&gt;
|&amp;lt;code&amp;gt;00&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;59&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt;&lt;br /&gt;
|Microsecondes. Notez que la fonction            date() génèrera toujours            &amp;lt;code&amp;gt;000000&amp;lt;/code&amp;gt; vu qu&#039;elle prend un paramètre de type            entier, alors que la méthode &#039;&#039;&#039;DateTime::format()&#039;&#039;&#039;            supporte les microsecondes si DateTime a            été créée avec des microsecondes.&lt;br /&gt;
|Exemple : &amp;lt;code&amp;gt;654321&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;v&amp;lt;/code&amp;gt;&lt;br /&gt;
|Millisecondes. Même note que pour            &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt;.&lt;br /&gt;
|Exemple: &amp;lt;code&amp;gt;654&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Fuseau horaire&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt;&lt;br /&gt;
|L&#039;identifiant du fuseau horaire&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;UTC&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GMT&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Atlantic/Azores&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt; (i majuscule)&lt;br /&gt;
|L&#039;heure d&#039;été est activée ou pas&lt;br /&gt;
|&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; si oui, &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; sinon.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;O&amp;lt;/code&amp;gt;&lt;br /&gt;
|Différence d&#039;heures avec l&#039;heure de Greenwich (GMT), sans            deux-points entre les heures et les minutes&lt;br /&gt;
|Exemple : &amp;lt;code&amp;gt;+0200&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;P&amp;lt;/code&amp;gt;&lt;br /&gt;
|Différence avec l&#039;heure Greenwich (GMT) avec un deux-points            entre les heures et les minutes&lt;br /&gt;
|Exemple : &amp;lt;code&amp;gt;+02:00&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt;&lt;br /&gt;
|Identique à &amp;lt;code&amp;gt;P&amp;lt;/code&amp;gt;, mais retourne &amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt; au lieu de &amp;lt;code&amp;gt;+00:00&amp;lt;/code&amp;gt;            (disponible à partir de PHP 8.0.0)&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;+02:00&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;T&amp;lt;/code&amp;gt;&lt;br /&gt;
|Abréviation du fuseau horaire, si connu ; sinon décalage depuis GMT&lt;br /&gt;
|Exemples : &amp;lt;code&amp;gt;EST&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;MDT&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;+05&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;Z&amp;lt;/code&amp;gt;&lt;br /&gt;
|Décalage horaire en secondes. Le décalage des zones à l&#039;ouest            de la zone UTC est négatif, et à l&#039;est, il est positif.&lt;br /&gt;
|&amp;lt;code&amp;gt;-43200&amp;lt;/code&amp;gt; à &amp;lt;code&amp;gt;50400&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;Date et Heure complète&#039;&#039;&lt;br /&gt;
| ---&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt;&lt;br /&gt;
|Date au format ISO 8601&lt;br /&gt;
|2004-02-12T15:19:21+00:00&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;r&amp;lt;/code&amp;gt;&lt;br /&gt;
|Format de date » &amp;lt;nowiki&amp;gt;RFC 2822&amp;lt;/nowiki&amp;gt;/» &amp;lt;nowiki&amp;gt;RFC 5322&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|Exemple : &amp;lt;code&amp;gt;Thu, 21 Dec 2000 16:01:070200&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;U&amp;lt;/code&amp;gt;&lt;br /&gt;
|Secondes depuis l&#039;époque Unix (1er Janvier 1970,  0h00 00s GMT)&lt;br /&gt;
|Voir aussi time()&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=18</id>
		<title>Icones</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=18"/>
		<updated>2023-11-22T13:53:11Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cette page répertorie les bibliothèques d&#039;icônes à disposition pour un usage web principalement mais aussi print quand les icones sont vectoriels :&lt;br /&gt;
&lt;br /&gt;
* Ionicons&amp;lt;ref&amp;gt;https://ionic.io/ionicons/usage&amp;lt;/ref&amp;gt; - icones de Ionic&lt;br /&gt;
* Heroicons&amp;lt;ref&amp;gt;https://heroicons.com/&amp;lt;/ref&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Modifier_son_fichier_Hosts&amp;diff=17</id>
		<title>Modifier son fichier Hosts</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Modifier_son_fichier_Hosts&amp;diff=17"/>
		<updated>2023-11-22T13:50:41Z</updated>

		<summary type="html">&lt;p&gt;David : Création&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sur MacOS, la démarche pour modifier son fichier Hosts est la suivante :&lt;br /&gt;
&lt;br /&gt;
Dans un terminal (pomme+espace), rechercher terminal puis ouvrir :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
sudo nano /etc/hosts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Les droits superuser sont requis pour modifier ce fichier, il faut donc taper son mot de passe.&lt;br /&gt;
&lt;br /&gt;
Le fichier est une liste de correspondance IP Nom de domaine :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
192.168.1.x exemple-domaine.com&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Pour sauvegarer : Ctrl + O puis entrée&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=16</id>
		<title>Icones</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Icones&amp;diff=16"/>
		<updated>2023-11-22T13:43:17Z</updated>

		<summary type="html">&lt;p&gt;David : Création&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cette page répertorie les bibliothèques d&#039;icônes à disposition pour un usage web principalement mais aussi print quand les icones sont vectoriels :&lt;br /&gt;
&lt;br /&gt;
Ionicons&amp;lt;ref&amp;gt;https://ionic.io/ionicons/usage&amp;lt;/ref&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Envoi_d%27email_avec_Python&amp;diff=15</id>
		<title>Envoi d&#039;email avec Python</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Envoi_d%27email_avec_Python&amp;diff=15"/>
		<updated>2023-11-22T13:21:02Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ce script fonctionnant sous Python3 utilise des paramêtres de configuration SMTP d&#039;ovh pour envoyer un message par email.&amp;lt;syntaxhighlight lang=&amp;quot;python3&amp;quot;&amp;gt;&lt;br /&gt;
import smtplib&lt;br /&gt;
from email.message import EmailMessage&lt;br /&gt;
&lt;br /&gt;
_username = &#039;**@xpres.fr&#039;&lt;br /&gt;
_password = &#039;*****&#039;&lt;br /&gt;
_host = &#039;ssl0.ovh.net&#039;&lt;br /&gt;
_port = 587&lt;br /&gt;
_subject = f&#039;Text : {textfile}&#039;&lt;br /&gt;
&lt;br /&gt;
_from = _username&lt;br /&gt;
_reply_to = &amp;quot;*****@****&amp;quot;&lt;br /&gt;
_to = &amp;quot;*****@****&amp;quot;&lt;br /&gt;
&lt;br /&gt;
_content = &amp;quot;Contenu du message&amp;quot;&lt;br /&gt;
&lt;br /&gt;
print(&#039;Initiating email sending...&#039;)&lt;br /&gt;
 &lt;br /&gt;
print(  f&#039;From : {_from}\n&#039;&lt;br /&gt;
        f&#039;To : {_to}\n&#039;&lt;br /&gt;
        f&#039;Subject : {_subject}\n&#039;&lt;br /&gt;
        f&#039;Host : {_host}\n&#039;&lt;br /&gt;
        f&#039;Port : {_port}\n&#039;&lt;br /&gt;
        f&#039;Username : {_username}\n&#039;&lt;br /&gt;
        f&#039;Reply-To : {_reply_to}\n&#039; )&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
msg = EmailMessage()&lt;br /&gt;
msg.set_content(_content)&lt;br /&gt;
&lt;br /&gt;
msg[&#039;Subject&#039;] = _subject&lt;br /&gt;
msg[&#039;From&#039;] = _from&lt;br /&gt;
msg[&#039;Reply-To&#039;] = _reply_to&lt;br /&gt;
msg[&#039;To&#039;] = _to&lt;br /&gt;
&lt;br /&gt;
try:&lt;br /&gt;
    # Send the message via our own SMTP server.&lt;br /&gt;
    s = smtplib.SMTP(_host, _port)&lt;br /&gt;
    s.login(_username, _password)&lt;br /&gt;
    s.send_message(msg)&lt;br /&gt;
    s.quit()&lt;br /&gt;
    print(&amp;quot;Successfully sent email&amp;quot;)&lt;br /&gt;
except Exception as e:&lt;br /&gt;
    print(e)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Python]]&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Envoi_d%27email_avec_Python&amp;diff=14</id>
		<title>Envoi d&#039;email avec Python</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Envoi_d%27email_avec_Python&amp;diff=14"/>
		<updated>2023-11-22T13:20:05Z</updated>

		<summary type="html">&lt;p&gt;David : Création de la page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ce script fonctionnant sous Python3 utilise des paramêtres de configuration SMTP d&#039;ovh pour envoyer un message par email.&amp;lt;syntaxhighlight lang=&amp;quot;python3&amp;quot;&amp;gt;&lt;br /&gt;
import smtplib&lt;br /&gt;
from email.message import EmailMessage&lt;br /&gt;
&lt;br /&gt;
_username = &#039;**@xpres.fr&#039;&lt;br /&gt;
_password = &#039;*****&#039;&lt;br /&gt;
_host = &#039;ssl0.ovh.net&#039;&lt;br /&gt;
_port = 587&lt;br /&gt;
_subject = f&#039;Text : {textfile}&#039;&lt;br /&gt;
&lt;br /&gt;
_from = _username&lt;br /&gt;
_reply_to = &amp;quot;*****@****&amp;quot;&lt;br /&gt;
_to = &amp;quot;*****@****&amp;quot;&lt;br /&gt;
&lt;br /&gt;
_content = &amp;quot;Contenu du message&amp;quot;&lt;br /&gt;
&lt;br /&gt;
print(&#039;Initiating email sending...&#039;)&lt;br /&gt;
 &lt;br /&gt;
print(  f&#039;From : {_from}\n&#039;&lt;br /&gt;
        f&#039;To : {_to}\n&#039;&lt;br /&gt;
        f&#039;Subject : {_subject}\n&#039;&lt;br /&gt;
        f&#039;Host : {_host}\n&#039;&lt;br /&gt;
        f&#039;Port : {_port}\n&#039;&lt;br /&gt;
        f&#039;Username : {_username}\n&#039;&lt;br /&gt;
        f&#039;Reply-To : {_reply_to}\n&#039; )&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
msg = EmailMessage()&lt;br /&gt;
msg.set_content(_content)&lt;br /&gt;
&lt;br /&gt;
msg[&#039;Subject&#039;] = _subject&lt;br /&gt;
msg[&#039;From&#039;] = _from&lt;br /&gt;
msg[&#039;Reply-To&#039;] = _reply_to&lt;br /&gt;
msg[&#039;To&#039;] = _to&lt;br /&gt;
&lt;br /&gt;
try:&lt;br /&gt;
    # Send the message via our own SMTP server.&lt;br /&gt;
    s = smtplib.SMTP(_host, _port)&lt;br /&gt;
    s.login(_username, _password)&lt;br /&gt;
    s.send_message(msg)&lt;br /&gt;
    s.quit()&lt;br /&gt;
    print(&amp;quot;Successfully sent email&amp;quot;)&lt;br /&gt;
except Exception as e:&lt;br /&gt;
    print(e)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=13</id>
		<title>Clever Cloud Tools</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=13"/>
		<updated>2023-11-22T13:14:46Z</updated>

		<summary type="html">&lt;p&gt;David : Ajout liens connexes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installer l&#039;outil de management d&#039;instance Clever Tools&amp;lt;ref&amp;gt;https://www.clever-cloud.com/doc/reference/clever-tools/getting_started/&amp;lt;/ref&amp;gt; de Clever Cloud :&lt;br /&gt;
&lt;br /&gt;
Commande à lancer selon l&#039;OS :&lt;br /&gt;
&lt;br /&gt;
Mac OS :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#dans son shell&lt;br /&gt;
brew install CleverCloud/homebrew-tap/clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Windows :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#Todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Linux :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
npm install -g clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;L&#039;outil est lancé par la commande :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
clever&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ainsi pour lancer une session ssh avec une instance : ==&lt;br /&gt;
Prérequis : installer une clé SSH&amp;lt;ref&amp;gt;https://www.clever-cloud.com/doc/getting-started/ssh-keys/&amp;lt;/ref&amp;gt; sur son poste.&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -C &amp;quot;my-email@example.com&amp;quot;&lt;br /&gt;
#... puis&lt;br /&gt;
cat ~/.ssh/ed25519.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Copier le contenu de la clé publique au sein du backoffice Clever Cloud : https://console.clever-cloud.com/users/me/ssh-keys&lt;br /&gt;
&lt;br /&gt;
Puis :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#Lier l&#039;application avec son tool en récupérant l&#039;app id de son app dans le backoffice clever&lt;br /&gt;
clever link &amp;lt;app-id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#Vérifer la liaison en tapant la commande suivante&lt;br /&gt;
clever applications&lt;br /&gt;
#Sortie&lt;br /&gt;
Application ******&lt;br /&gt;
  alias: *****&lt;br /&gt;
  id: *******&lt;br /&gt;
  &lt;br /&gt;
#Récupérer l&#039;alias puis&lt;br /&gt;
clever ssh --alias=*****&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=12</id>
		<title>Clever Cloud Tools</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=12"/>
		<updated>2023-11-22T13:13:24Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installer l&#039;outil de management d&#039;instance de Clever Cloud :&lt;br /&gt;
&lt;br /&gt;
Commande à lancer selon l&#039;OS :&lt;br /&gt;
&lt;br /&gt;
Mac OS :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#dans son shell&lt;br /&gt;
brew install CleverCloud/homebrew-tap/clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Windows :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#Todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Linux :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
npm install -g clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;L&#039;outil est lancé par la commande :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
clever&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ainsi pour lancer une session ssh avec une instance : ==&lt;br /&gt;
Prérequis : installer une clé SSH sur son poste.&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -C &amp;quot;my-email@example.com&amp;quot;&lt;br /&gt;
#... puis&lt;br /&gt;
cat ~/.ssh/ed25519.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Copier le contenu de la clé publique au sein du backoffice Clever Cloud : https://console.clever-cloud.com/users/me/ssh-keys&lt;br /&gt;
&lt;br /&gt;
Puis :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#Lier l&#039;application avec son tool en récupérant l&#039;app id de son app dans le backoffice clever&lt;br /&gt;
clever link &amp;lt;app-id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#Vérifer la liaison en tapant la commande suivante&lt;br /&gt;
clever applications&lt;br /&gt;
#Sortie&lt;br /&gt;
Application ******&lt;br /&gt;
  alias: *****&lt;br /&gt;
  id: *******&lt;br /&gt;
  &lt;br /&gt;
#Récupérer l&#039;alias puis&lt;br /&gt;
clever ssh --alias=*****&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=11</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=11"/>
		<updated>2023-11-22T13:10:53Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer&amp;lt;ref&amp;gt;Lien vers la page Github de la librairie PHPMailer : https://github.com/PHPMailer/PHPMailer&amp;lt;/ref&amp;gt; au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Catégorie:Wordpress]]&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=10</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=10"/>
		<updated>2023-11-22T13:09:06Z</updated>

		<summary type="html">&lt;p&gt;David : Ajout catégorie&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer&amp;lt;ref&amp;gt;Lien vers la page Github de la librairie PHPMailer : https://github.com/PHPMailer/PHPMailer&amp;lt;/ref&amp;gt; au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[index.php?title=Catégorie:Wordpress]]&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=9</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=9"/>
		<updated>2023-11-22T13:08:26Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer&amp;lt;ref&amp;gt;Lien vers la page Github de la librairie PHPMailer : https://github.com/PHPMailer/PHPMailer&amp;lt;/ref&amp;gt; au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&amp;lt;nowiki&amp;gt;[[Catégorie:Wordpress]]&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=8</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=8"/>
		<updated>2023-11-22T13:04:29Z</updated>

		<summary type="html">&lt;p&gt;David : Ajout lien connexe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer&amp;lt;ref&amp;gt;Lien vers la page Github de la librairie PHPMailer : https://github.com/PHPMailer/PHPMailer&amp;lt;/ref&amp;gt; au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=7</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=7"/>
		<updated>2023-11-22T13:02:39Z</updated>

		<summary type="html">&lt;p&gt;David : Ajout lien connexe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;ref group=&amp;quot;PHP LIB&amp;quot;&amp;gt;Lien vers la page Github de la librairie PHPMailer : https://github.com/PHPMailer/PHPMailer&amp;lt;/ref&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=6</id>
		<title>Clever Cloud Tools</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Clever_Cloud_Tools&amp;diff=6"/>
		<updated>2023-11-22T11:49:48Z</updated>

		<summary type="html">&lt;p&gt;David : Création&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Installer l&#039;outil de management d&#039;instance de Clever Cloud :&lt;br /&gt;
&lt;br /&gt;
Commande à lancer selon l&#039;OS :&lt;br /&gt;
&lt;br /&gt;
Mac OS :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#dans son shell&lt;br /&gt;
brew install CleverCloud/homebrew-tap/clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Windows :&lt;br /&gt;
&lt;br /&gt;
Linux :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
npm install -g clever-tools&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;L&#039;outil est lancé par la commande :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
clever&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ainsi pour lancer une session ssh avec une instance : ==&lt;br /&gt;
Prérequis : installer une clé SSH sur son poste.&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
ssh-keygen -t ed25519 -C &amp;quot;my-email@example.com&amp;quot;&lt;br /&gt;
#... puis&lt;br /&gt;
cat ~/.ssh/ed25519.pub&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Copier le contenu de la clé publique au sein du backoffice Clever Cloud : https://console.clever-cloud.com/users/me/ssh-keys&lt;br /&gt;
&lt;br /&gt;
Puis :&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
#Lier l&#039;application avec son tool en récupérant l&#039;app id de son app dans le backoffice clever&lt;br /&gt;
clever link &amp;lt;app-id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#Vérifer la liaison en tapant la commande suivante&lt;br /&gt;
clever applications&lt;br /&gt;
#Sortie&lt;br /&gt;
Application ******&lt;br /&gt;
  alias: *****&lt;br /&gt;
  id: *******&lt;br /&gt;
  &lt;br /&gt;
#Récupérer l&#039;alias puis&lt;br /&gt;
clever ssh --alias=*****&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=5</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=5"/>
		<updated>2023-11-22T10:24:26Z</updated>

		<summary type="html">&lt;p&gt;David : fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &#039;&#039;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=4</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=4"/>
		<updated>2023-11-22T10:23:44Z</updated>

		<summary type="html">&lt;p&gt;David : Ajout du code dans un bloc de code php&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php de votre site, insérer le code suivant en personnalisant les variables de configuration :&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;; //smtp ovh&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;; //custom&lt;br /&gt;
   $password = &#039;&#039;;&lt;br /&gt;
   $replyto  = &amp;quot;&amp;quot;;&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; &lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt;&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=3</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=3"/>
		<updated>2023-11-22T10:17:50Z</updated>

		<summary type="html">&lt;p&gt;David : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php, insérer le code suivant en personnalisant les variables de configuration :&lt;br /&gt;
&lt;br /&gt;
function wp_phpmailer_example( $phpmailer ) {&lt;br /&gt;
&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $username = &amp;quot;nom_du_client@xpres.fr&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $password = &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
   $replyto  = &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; // Ask it to use authenticate using the Username and Password properties&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt; &lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;wp_phpmailer_example&#039; );&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
	<entry>
		<id>https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=2</id>
		<title>Wordpress PHPMailer</title>
		<link rel="alternate" type="text/html" href="https://wiki.bdsa.dev/index.php?title=Wordpress_PHPMailer&amp;diff=2"/>
		<updated>2023-11-22T10:16:52Z</updated>

		<summary type="html">&lt;p&gt;David : Création de la page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Configuration de PHPMailer au sein de Wordpress.&lt;br /&gt;
&lt;br /&gt;
Dans le fichier functions.php, insérer le code suivant en personnalisant les variables de configuration :&lt;br /&gt;
&lt;br /&gt;
function adeo_phpmailer_example( $phpmailer ) {&lt;br /&gt;
&lt;br /&gt;
   $host     = &amp;quot;ssl0.ovh.net&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $username = &amp;quot;adeo@xpres.fr&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $password = &#039;GX5r&amp;quot;KvFa&#039;;&lt;br /&gt;
&lt;br /&gt;
   $replyto  = &amp;quot;contact@adeo.asso.fr&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
   $fromMail = $username;&lt;br /&gt;
&lt;br /&gt;
   $fromName = get_bloginfo(&#039;name&#039;);&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   $secureProt = &#039;tls&#039;; //ssl&lt;br /&gt;
&lt;br /&gt;
   $port     = $secureProt == &#039;tls&#039; ? 587 : 465;&lt;br /&gt;
&lt;br /&gt;
   $smtpAuth   = !empty($username.$password);&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;isSMTP();     &lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Host = $host ;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPAuth = $smtpAuth; // Ask it to use authenticate using the Username and Password properties&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Port = $port;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Username = $username;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;Password = $password;&lt;br /&gt;
&lt;br /&gt;
   // Additional settings…&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;SMTPSecure = $secureProt; // Choose &#039;ssl&#039; for SMTPS on port 465, or &#039;tls&#039; for SMTP+STARTTLS on port 25 or 587&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;From = $fromMail ;&lt;br /&gt;
&lt;br /&gt;
   $phpmailer-&amp;gt;FromName =  $fromName;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
add_action( &#039;phpmailer_init&#039;, &#039;adeo_phpmailer_example&#039; );&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
</feed>