﻿{"id":3368,"date":"2018-05-09T18:00:18","date_gmt":"2018-05-09T17:00:18","guid":{"rendered":"https:\/\/dahoo.fr\/wordpress\/?p=3368"},"modified":"2020-09-22T15:42:49","modified_gmt":"2020-09-22T14:42:49","slug":"maildev-faker-smtp","status":"publish","type":"post","link":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/","title":{"rendered":"MailDev : Faker SMTP"},"content":{"rendered":"<p>MailDev est un moyen simple de tester les mails de vos projets pendant le d\u00e9veloppement avec une interface web facile \u00e0 utiliser qui fonctionne sur votre machine.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ddefd143ee8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ddefd143ee8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#Presentation\" >Pr\u00e9sentation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#Fonctionnalite\" >Fonctionnalit\u00e9 :<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#Installation_via_npm\" >Installation via npm :<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#Installation_via_docker\" >Installation via docker :<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Presentation\"><\/span>Pr\u00e9sentation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>MailDev vous permet facilement et simplement d&rsquo;avoir un environnement de test pour vos mails. Combien de personne, on peut envoyer des mails a la mauvaise personne lors des tests ? Du coup, difficile de faire des tests concrets. Cet outil permet d&rsquo;avoir une r\u00e9tention des mails envoy\u00e9s, du coup plus de contrainte et plus de soucis de faire une boulette. Le service tourne sur le port 1080.<\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Fonctionnalite\"><\/span>Fonctionnalit\u00e9 :<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Basculer entre les affichages HTML \/ texte brut et afficher les en-t\u00eates source ou mail<\/li>\n<li>Emails r\u00e9actifs de test avec volet de visualisation redimensionnable disponible pour les vues 320\/480\/600px<\/li>\n<li>Recevoir et voir les pi\u00e8ces jointes<\/li>\n<li>Les nouveaux emails apparaissent instantan\u00e9ment dans l&rsquo;interface lorsqu&rsquo;ils sont re\u00e7us (via Websockets)<\/li>\n<li>Interface de ligne de commande pour la configuration des ports SMTP et d&rsquo;interface Web<\/li>\n<li>Possibilit\u00e9 de relayer le courrier \u00e9lectronique vers un serveur SMTP en amont (comme Gmail)<\/li>\n<li>Exporter les fichiers .eml<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Installation_via_npm\"><\/span>Installation via npm :<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<blockquote>\n<pre>$ npm install -g maildev\r\n$ maildev<\/pre>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Installation_via_docker\"><\/span>Installation via docker :<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>L&rsquo;installation via docker simplifie le travail, pas besoin d&rsquo;avoir npm\u00a0 et une \u00e9ni\u00e8me application sur son poste.<\/p>\n<blockquote>\n<pre>  $ docker pull djfarrelly\/maildev\r\n  $ docker run -p 1080:80 -p 1025:25 djfarrelly\/maildev\r\n\r\n\r\n<\/pre>\n<\/blockquote>\n<p>Lien du projet git :\u00a0<a href=\"https:\/\/github.com\/djfarrelly\/MailDev\">https:\/\/github.com\/djfarrelly\/MailDev<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MailDev est un moyen simple de tester les mails de vos projets pendant le d\u00e9veloppement avec une interface web facile \u00e0 utiliser qui fonctionne sur votre machine.<\/p>\n","protected":false},"author":1,"featured_media":3375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[396,333,96],"tags":[397,439,440],"class_list":["post-3368","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-docker","category-git","category-outils","tag-docker","tag-maildev","tag-smtp","post_format-post-format-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MailDev : Faker SMTP - D@hoo<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MailDev : Faker SMTP - D@hoo\" \/>\n<meta property=\"og:description\" content=\"MailDev est un moyen simple de tester les mails de vos projets pendant le d\u00e9veloppement avec une interface web facile \u00e0 utiliser qui fonctionne sur votre machine.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\" \/>\n<meta property=\"og:site_name\" content=\"D@hoo\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-09T17:00:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-22T14:42:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2246\" \/>\n\t<meta property=\"og:image:height\" content=\"1632\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fabacks\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabacks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\"},\"author\":{\"name\":\"Fabacks\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2\"},\"headline\":\"MailDev : Faker SMTP\",\"datePublished\":\"2018-05-09T17:00:18+00:00\",\"dateModified\":\"2020-09-22T14:42:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\"},\"wordCount\":226,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png\",\"keywords\":[\"docker\",\"maildev\",\"smtp\"],\"articleSection\":[\"Docker\",\"Git\",\"Outils\"],\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\",\"url\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\",\"name\":\"MailDev : Faker SMTP - D@hoo\",\"isPartOf\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png\",\"datePublished\":\"2018-05-09T17:00:18+00:00\",\"dateModified\":\"2020-09-22T14:42:49+00:00\",\"author\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2\"},\"breadcrumb\":{\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage\",\"url\":\"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png\",\"contentUrl\":\"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png\",\"width\":2246,\"height\":1632},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/dahoo.fr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MailDev : Faker SMTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#website\",\"url\":\"https:\/\/dahoo.fr\/wordpress\/\",\"name\":\"D@hoo\",\"description\":\"Dahoo, la taverne du geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dahoo.fr\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2\",\"name\":\"Fabacks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5774810a4a71ec90d75c578017954d3e8d660747be025fdae4d44599410b4806?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5774810a4a71ec90d75c578017954d3e8d660747be025fdae4d44599410b4806?s=96&r=g\",\"caption\":\"Fabacks\"},\"description\":\"Fabacks, fondateur du projet Dahoo proposant des news, des tutos, des tests tout cela gratuitement. Un bidouilleur et fan d'informatique en tout genre qui vous fera partager ses exp\u00e9riences.\",\"sameAs\":[\"http:\/\/dahoo.fr\"],\"url\":\"https:\/\/dahoo.fr\/wordpress\/author\/fabien\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MailDev : Faker SMTP - D@hoo","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/","og_locale":"fr_FR","og_type":"article","og_title":"MailDev : Faker SMTP - D@hoo","og_description":"MailDev est un moyen simple de tester les mails de vos projets pendant le d\u00e9veloppement avec une interface web facile \u00e0 utiliser qui fonctionne sur votre machine.","og_url":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/","og_site_name":"D@hoo","article_published_time":"2018-05-09T17:00:18+00:00","article_modified_time":"2020-09-22T14:42:49+00:00","og_image":[{"width":2246,"height":1632,"url":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","type":"image\/png"}],"author":"Fabacks","twitter_misc":{"\u00c9crit par":"Fabacks","Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#article","isPartOf":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/"},"author":{"name":"Fabacks","@id":"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2"},"headline":"MailDev : Faker SMTP","datePublished":"2018-05-09T17:00:18+00:00","dateModified":"2020-09-22T14:42:49+00:00","mainEntityOfPage":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/"},"wordCount":226,"commentCount":0,"image":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","keywords":["docker","maildev","smtp"],"articleSection":["Docker","Git","Outils"],"inLanguage":"fr-FR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/","url":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/","name":"MailDev : Faker SMTP - D@hoo","isPartOf":{"@id":"https:\/\/dahoo.fr\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage"},"image":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","datePublished":"2018-05-09T17:00:18+00:00","dateModified":"2020-09-22T14:42:49+00:00","author":{"@id":"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2"},"breadcrumb":{"@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#primaryimage","url":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","contentUrl":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","width":2246,"height":1632},{"@type":"BreadcrumbList","@id":"https:\/\/dahoo.fr\/wordpress\/maildev-faker-smtp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/dahoo.fr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"MailDev : Faker SMTP"}]},{"@type":"WebSite","@id":"https:\/\/dahoo.fr\/wordpress\/#website","url":"https:\/\/dahoo.fr\/wordpress\/","name":"D@hoo","description":"Dahoo, la taverne du geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dahoo.fr\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Person","@id":"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/08ab6e7b6f186b7e033fe862d72137d2","name":"Fabacks","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/dahoo.fr\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5774810a4a71ec90d75c578017954d3e8d660747be025fdae4d44599410b4806?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5774810a4a71ec90d75c578017954d3e8d660747be025fdae4d44599410b4806?s=96&r=g","caption":"Fabacks"},"description":"Fabacks, fondateur du projet Dahoo proposant des news, des tutos, des tests tout cela gratuitement. Un bidouilleur et fan d'informatique en tout genre qui vous fera partager ses exp\u00e9riences.","sameAs":["http:\/\/dahoo.fr"],"url":"https:\/\/dahoo.fr\/wordpress\/author\/fabien\/"}]}},"jetpack_featured_media_url":"https:\/\/dahoo.fr\/wordpress\/wp-content\/uploads\/2018\/05\/maildev.png","_links":{"self":[{"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/posts\/3368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/comments?post=3368"}],"version-history":[{"count":3,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/posts\/3368\/revisions"}],"predecessor-version":[{"id":4176,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/posts\/3368\/revisions\/4176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/media\/3375"}],"wp:attachment":[{"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/media?parent=3368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/categories?post=3368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dahoo.fr\/wordpress\/wp-json\/wp\/v2\/tags?post=3368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}