{"id":2545,"date":"2025-10-21T07:00:19","date_gmt":"2025-10-21T05:00:19","guid":{"rendered":"https:\/\/artheodoc.fr\/?page_id=2545"},"modified":"2025-10-21T10:47:41","modified_gmt":"2025-10-21T08:47:41","slug":"configuration-smtp-mailo-pour-mediawiki","status":"publish","type":"page","link":"https:\/\/artheodoc.fr\/index.php\/configuration-smtp-mailo-pour-mediawiki\/","title":{"rendered":"Configuration SMTP Mailo pour MediaWiki"},"content":{"rendered":"\n<p>Remplacez les lignes suivantes dans fichier <strong>LocalSettings.php<\/strong> :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>## UPO means: this is also a user preference option\n$wgEnableEmail = true;\n$wgEnableUserEmail = true; # UPO\n\n$wgEmergencyContact = \"apache@\ud83c\udf3b.invalid\";\n$wgPasswordSender = \"apache@\ud83c\udf3b.invalid\";\n\n$wgEnotifUserTalk = false; # UPO\n$wgEnotifWatchlist = false; # UPO\n$wgEmailAuthentication = true;<\/code><\/pre>\n\n\n\n<p>Par ceci (avec vos param\u00e8tres \u00e0 la place de <strong>ton.adresse@mailo.com<\/strong> et <strong>ton_mot_de_passe_mailo<\/strong>)&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$wgEnableEmail = true;\n$wgEnableUserEmail = true;\n\n$wgEmergencyContact = \"ton.adresse@mailo.com\";\n$wgPasswordSender = \"ton.adresse@mailo.com\";\n\n$wgEnotifUserTalk = true;\n$wgEnotifWatchlist = true;\n$wgEmailAuthentication = true;\n\n$wgSMTP = &#91;\n    'host'     =&gt; 'smtp.mailo.com',\n    'IDHost'   =&gt; 'mailo.com',\n    'port'     =&gt; 587,\n    'auth'     =&gt; true,\n    'username' =&gt; 'ton.adresse@mailo.com',\n    'password' =&gt; 'ton_mot_de_passe_mailo',\n];<\/code><\/pre>\n\n\n\n<p>Mailo supporte&nbsp;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSL sur le port 465<\/li>\n\n\n\n<li>STARTTLS sur le port 587<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Tester l\u2019envoi d\u2019un e-mail<\/strong><\/p>\n\n\n\n<p>Depuis le dossier racine de ton MediaWiki&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php maintenance\/sendTestMail.php --to ton.adresse@mailo.com<\/pre>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-80aaa29c82097163c5326c6173f3d113\"><strong>Ne fonctionne pas avec une version r\u00e9cente de MediaWiki.<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>En cas de probl\u00e8mes<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>V\u00e9rifiez que le serveur autorise les connexions sortantes sur le port 465 ou 587.<\/li>\n\n\n\n<li>Si on obtient une erreur du type Could not authenticate, testez le mot de passe via un client mail pour \u00eatre s\u00fbr.<\/li>\n\n\n\n<li>Mailo peut parfois bloquer les connexions trop fr\u00e9quentes depuis un serveur non identifi\u00e9&nbsp;: dans ce cas, connectez-vous \u00e0 votre compte Mailo une fois depuis le navigateur pour valider votre adresse.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remplacez les lignes suivantes dans fichier LocalSettings.php : Par ceci (avec vos param\u00e8tres \u00e0 la place de ton.adresse@mailo.com et ton_mot_de_passe_mailo)&nbsp;: Mailo supporte&nbsp;: Tester l\u2019envoi d\u2019un e-mail Depuis le dossier racine de ton MediaWiki&nbsp;: php maintenance\/sendTestMail.php &#8211;to ton.adresse@mailo.com Ne fonctionne pas avec une version r\u00e9cente de MediaWiki. En cas de probl\u00e8mes<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-2545","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/2545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=2545"}],"version-history":[{"count":2,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/2545\/revisions"}],"predecessor-version":[{"id":2548,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/2545\/revisions\/2548"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}